mavlinkio
Create local MAVLink client
Description
The mavlinkio object represents a local MAVLink client. After you
create a mavlinkio object, you can connect the object to other MAVLink
clients such as UAV and ground control stations using the object functions to exchange
messages.
Creation
Syntax
Description
creates a local MAVLink client using a MAVLink message definition specified as a mavlink = mavlinkio(msgDefinitions)mavlinkdialect
object.
creates a local MAVLink client using a MAVLink message definition specified as a an XML
file.mavlink = mavlinkio(dialectXML)
specifies the MAVLink protocol version of the XML file..mavlink = mavlinkio(dialectXML,version)
specifies options using one or more name-value arguments in addition to any combination
of input arguments from previous syntaxes.. For example, mavlink = mavlinkio(___,Name=Value)SystemID=2
sets the MAVLink system ID to 2.
Input Arguments
Name-Value Arguments
Properties
Object Functions
connect | Connect to MAVLink clients through UDP port |
disconnect | Disconnect from MAVLink clients |
sendmsg | Send MAVLink message |
sendudpmsg | Send MAVLink message to UDP port |
serializemsg | Serialize MAVLink message to binary buffer |
listConnections | List all active MAVLink connections |
listClients | List all connected MAVLink clients |
listTopics | List all topics received by MAVLink client |


