hitl: kill probe-run cleanly
# Enable shell operating mode flags.
set -eux
-trap "kill 0" EXIT
# Set up python for testing
python3 -m venv --system-site-packages py
@@ -31,3 +30,6 @@ ping -c 5 -w 20 stabilizer-hitl
python3 miniconf.py dt/sinara/dual-iir/04-91-62-d9-7e-5f afe/0='"G2"'
python3 miniconf.py dt/sinara/dual-iir/04-91-62-d9-7e-5f afe/0='"G1"' iir_ch/0/0=\
'{"y_min": -32767, "y_max": 32767, "y_offset": 0, "ba": [1.0, 0, 0, 0, 0]}'
+
+kill $(jobs -p)
+wait || true
