mavlink: -r (datarate) parameter implemented, minor fixes

This commit is contained in:
Anton Babushkin
2014-02-27 18:31:41 +04:00
parent 141982a3ac
commit 2159f948ea
5 changed files with 65 additions and 30 deletions
+2 -1
View File
@@ -250,7 +250,8 @@ MavlinkReceiver::handle_message(mavlink_message_t *msg)
if (mavlink_system.sysid < 4) {
/* switch to a receiving link mode */
_mavlink->set_mode(Mavlink::MODE_TX_HEARTBEAT_ONLY);
//TODO why do we need this?
//_mavlink->set_mode(Mavlink::MODE_TX_HEARTBEAT_ONLY);
/*
* rate control mode - defined by MAVLink