Function rc_mav_get_attitude¶
Defined in File mavlink_udp_helpers.h
Function Documentation¶
-
int rc_mav_get_attitude(mavlink_attitude_t *data)¶
Fetches the last attitude packet of type MAVLINK_MSG_ID_ATTITUDE.
- Parameters
data – [out] Pointer to user’s packet struct to be populated with new data
- Returns
0 on success, -1 on failure