mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 01:37:35 +08:00
Merge branch 'autostart_cleanup' into navigator_new_vector
This commit is contained in:
@@ -241,6 +241,7 @@ then
|
||||
if [ $HIL == yes ]
|
||||
then
|
||||
set OUTPUT_MODE hil
|
||||
set FMU_MODE serial
|
||||
else
|
||||
# Try to get an USB console if not in HIL mode
|
||||
nshterm /dev/ttyACM0 &
|
||||
@@ -373,6 +374,7 @@ then
|
||||
|
||||
if [ $HIL == yes ]
|
||||
then
|
||||
sleep 1
|
||||
mavlink start -b 230400 -d /dev/ttyACM0
|
||||
usleep 5000
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user