Parse and store MAVLink dialect XML
The mavlinkdialect
object parses and stores message and enum
definitions extracted from a MAVLink message definition file (.xml
). The
message definition files define the messages supported for this specific dialect. The
structure of the message definitions is defined by the MAVLink message
protocol.
This object requires you to install the UAV Library for Robotics System
Toolbox™. To install add-ons, use roboticsAddons
and select the desired add-on.
creates a MAVLink dialect using the dialect
= mavlinkdialect("common.xml")common.xml
file for standard
MAVLink messages.
specifies the XML file for parsing the message definitions. The input sets the
dialect
= mavlinkdialect(dialectXML)DialectXML
property.
additionally specifies the MAVLink protocol version. The inputs set the
dialect
= mavlinkdialect(dialectXML,version)DialectXML
and Version
properties,
respectively.