|
|
@ -493,6 +493,10 @@ void Vehicle::_mavlinkMessageReceived(LinkInterface* link, mavlink_message_t mes |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Mark this vehicle as active
|
|
|
|
|
|
|
|
_connectionActive(); |
|
|
|
|
|
|
|
|
|
|
|
// Give the plugin a change to adjust the message contents
|
|
|
|
// Give the plugin a change to adjust the message contents
|
|
|
|
if (!_firmwarePlugin->adjustIncomingMavlinkMessage(this, &message)) { |
|
|
|
if (!_firmwarePlugin->adjustIncomingMavlinkMessage(this, &message)) { |
|
|
|
return; |
|
|
|
return; |
|
|
@ -900,8 +904,6 @@ void Vehicle::_handleHeartbeat(mavlink_message_t& message) |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_connectionActive(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mavlink_heartbeat_t heartbeat; |
|
|
|
mavlink_heartbeat_t heartbeat; |
|
|
|
|
|
|
|
|
|
|
|
mavlink_msg_heartbeat_decode(&message, &heartbeat); |
|
|
|
mavlink_msg_heartbeat_decode(&message, &heartbeat); |
|
|
|