Connect with MAVLink clients to exchange messages
The mavlinkio object connects with MAVLink clients through UDP
ports to exchange messages with UAVs (unmanned aerial vehicles) using the MAVLink
communication protocols.
creates an interface to connect with MAVLink clients using the input mavlink = mavlinkio(msgDefinitions)mavlinkdialect object, which defines the message definitions. This dialect
object is set directly to the Dialect property.
directly
specifies the XML file for the message definitions as a file name. A mavlink = mavlinkio(dialectXML)mavlinkdialect is created using this XML file and set to the
Dialect property
additionally specifies the MAVLink protocol version as either mavlink = mavlinkio(dialectXML,version)1 or
2.
additionally specifies arguments using the following name-value pairs.mavlink = mavlinkio(___,Name,Value)
Specify optional
comma-separated pairs of Name,Value arguments. Name is
the argument name and Value is the corresponding value.
Name must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN.
The name-value pairs directly set the MAVLink client information in the
LocalClient property. See LocalClient for more info on what values can be set.
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 |