hitl: kill probe-run cleanly
This commit is contained in:
parent
5e5f9c92a6
commit
6cd5c4182a
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
# Enable shell operating mode flags.
|
# Enable shell operating mode flags.
|
||||||
set -eux
|
set -eux
|
||||||
trap "kill 0" EXIT
|
|
||||||
|
|
||||||
# Set up python for testing
|
# Set up python for testing
|
||||||
python3 -m venv --system-site-packages py
|
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='"G2"'
|
||||||
python3 miniconf.py dt/sinara/dual-iir/04-91-62-d9-7e-5f afe/0='"G1"' iir_ch/0/0=\
|
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]}'
|
'{"y_min": -32767, "y_max": 32767, "y_offset": 0, "ba": [1.0, 0, 0, 0, 0]}'
|
||||||
|
|
||||||
|
kill $(jobs -p)
|
||||||
|
wait || true
|
||||||
|
Loading…
Reference in New Issue
Block a user