Merge pull request #851 from PX4/hil_hotfix

HIL: Increased MAVLink link wait time based on previous experience that ...
This commit is contained in:
Lorenz Meier 2014-04-22 01:30:08 +02:00
commit 25b64e07ab
1 changed files with 2 additions and 1 deletions

View File

@ -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