loop only in mavlink_onboard