Function rc_mav_get_attitude_quaternion¶
Defined in File mavlink_udp_helpers.h
Function Documentation¶
-
int rc_mav_get_attitude_quaternion(mavlink_attitude_quaternion_t *data)¶
Fetches and unpacks the last received MAVLINK_MSG_ID_ATTITUDE_QUATERNION.
- Parameters
data – [out] Pointer to user’s packet struct to be populated with new data
- Returns
0 on success, -1 on failure