diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-03-01 19:27:53 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-03-01 19:27:53 +0400 |
commit | 6948defdb26711fd8336b5e0173664bf98517406 (patch) | |
tree | 979a3703bc2a0fb2b68f7f66c349f17c79161334 /ROMFS/px4fmu_common | |
parent | 256cc2b411b1f36397884bfd019b9ac3e4cd1850 (diff) | |
download | px4-firmware-6948defdb26711fd8336b5e0173664bf98517406.tar.gz px4-firmware-6948defdb26711fd8336b5e0173664bf98517406.tar.bz2 px4-firmware-6948defdb26711fd8336b5e0173664bf98517406.zip |
mavlink: HIL fixes, performance optimization
Diffstat (limited to 'ROMFS/px4fmu_common')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.usb | 2 | ||||
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rcS | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.usb b/ROMFS/px4fmu_common/init.d/rc.usb index 558be4275..0de2d4295 100644 --- a/ROMFS/px4fmu_common/init.d/rc.usb +++ b/ROMFS/px4fmu_common/init.d/rc.usb @@ -5,7 +5,7 @@ echo "Starting MAVLink on this USB console" -mavlink start -r 10000 -d /dev/ttyACM0 +mavlink start -r 5000 -d /dev/ttyACM0 # Exit shell to make it available to MAVLink exit diff --git a/ROMFS/px4fmu_common/init.d/rcS b/ROMFS/px4fmu_common/init.d/rcS index c96f44e02..48532e7af 100644 --- a/ROMFS/px4fmu_common/init.d/rcS +++ b/ROMFS/px4fmu_common/init.d/rcS @@ -387,7 +387,7 @@ then if [ $HIL == yes ] then sleep 1 - set MAVLINK_FLAGS "-d 10000 -d /dev/ttyACM0" + set MAVLINK_FLAGS "-r 10000 -d /dev/ttyACM0 -m hil" usleep 5000 else # Normal mode, use baudrate 57600 (default) and data rate 1000 bytes/s |