Function rc_mav_get_attitude#

Function Documentation#

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