From 78bf7ed969624eacea35ae2bf402596aecb3c5a6 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 22 Apr 2014 01:29:39 +0200 Subject: HIL: Increased MAVLink link wait time based on previous experience that this is timing sensitive. --- ROMFS/px4fmu_common/init.d/rcS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ROMFS') diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index 2ab1e2e96..ccac0a263 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -403,7 +403,8 @@ then then if [ $HIL == yes ] then - sleep 1 + # Sleep required to ensure the link is up + sleep 5 set MAVLINK_FLAGS "-r 10000 -d /dev/ttyACM0" else # Normal mode, use baudrate 57600 (default) and data rate 1000 bytes/s -- cgit v1.2.3