This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_mav_get_heartbeat

Function Documentation

fetches the most recently received heartbeat packet of type MAVLINK_MSG_ID_HEARTBEAT


data[out] pointer to put heartbeat packet data


0 on success, -1 on failure for example if no message has been received of type msg_id.