Function rc_mav_get_attitude_quaternion#

Function Documentation#

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