mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
autotest: fixed hil mode start for sim_vehicle
This commit is contained in:
parent
73782c41a9
commit
3c9af9e474
@ -150,7 +150,9 @@ kill_tasks()
|
||||
}
|
||||
}
|
||||
|
||||
if [ $START_HIL == 0 ]; then
|
||||
kill_tasks
|
||||
fi
|
||||
|
||||
trap kill_tasks SIGINT
|
||||
|
||||
@ -364,4 +366,6 @@ if [ $USE_MAVLINK_GIMBAL == 1 ]; then
|
||||
options="$options --load-module=gimbal"
|
||||
fi
|
||||
mavproxy.py $options --cmd="$extra_cmd" $*
|
||||
if [ $START_HIL == 0 ]; then
|
||||
kill_tasks
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user