Received messages from MAVLink subscriber
returns the latest received messages for the msgs
= latestmsgs(sub
,count
)mavlinksub
object. The messages are in a structure array in reverse-chronological order with the most
recent being first. If count
is larger than the number of stored
messages, the structure array contains only the number of stored messages.
This function requires you to install the UAV Library for Robotics System
Toolbox™. To install add-ons, use roboticsAddons
and select the desired add-on.