Function rc_mav_get_global_position_int#

Function Documentation#

Fetches and unpacks the last received MAVLINK_MSG_ID_GLOBAL_POSITION_INT.

Parameters:

data[out] Pointer to user’s packet struct to be populated with new data

Returns:

0 on success, -1 on failure