mavlink: HIL fixes, performance optimization

This commit is contained in:
Anton Babushkin
2014-03-01 19:27:53 +04:00
parent 256cc2b411
commit 6948defdb2
4 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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