mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
Merge pull request #851 from PX4/hil_hotfix
HIL: Increased MAVLink link wait time based on previous experience that ...
This commit is contained in:
@@ -403,7 +403,8 @@ then
|
|||||||
then
|
then
|
||||||
if [ $HIL == yes ]
|
if [ $HIL == yes ]
|
||||||
then
|
then
|
||||||
sleep 1
|
# Sleep required to ensure the link is up
|
||||||
|
sleep 5
|
||||||
set MAVLINK_FLAGS "-r 10000 -d /dev/ttyACM0"
|
set MAVLINK_FLAGS "-r 10000 -d /dev/ttyACM0"
|
||||||
else
|
else
|
||||||
# Normal mode, use baudrate 57600 (default) and data rate 1000 bytes/s
|
# Normal mode, use baudrate 57600 (default) and data rate 1000 bytes/s
|
||||||
|
|||||||
Reference in New Issue
Block a user