hitl: kill probe-run cleanly

master
Robert Jördens 2021-05-13 12:27:42 +02:00
parent 5e5f9c92a6
commit 6cd5c4182a
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,6 @@
# 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