123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396 |
- <?xml version="1.0"?>
- <mavlink>
- <version>3</version>
- <enums>
- <enum name="MAV_AUTOPILOT">
- <description>Micro air vehicle / autopilot classes. This identifies the individual model.</description>
- <entry value="0" name="MAV_AUTOPILOT_GENERIC">
- <description>Generic autopilot, full support for everything</description>
- </entry>
- <entry value="1" name="MAV_AUTOPILOT_RESERVED">
- <description>Reserved for future use.</description>
- </entry>
- <entry value="2" name="MAV_AUTOPILOT_SLUGS">
- <description>SLUGS autopilot, http://slugsuav.soe.ucsc.edu</description>
- </entry>
- <entry value="3" name="MAV_AUTOPILOT_ARDUPILOTMEGA">
- <description>ArduPilot - Plane/Copter/Rover/Sub/Tracker, http://ardupilot.org</description>
- </entry>
- <entry value="4" name="MAV_AUTOPILOT_OPENPILOT">
- <description>OpenPilot, http://openpilot.org</description>
- </entry>
- <entry value="5" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY">
- <description>Generic autopilot only supporting simple waypoints</description>
- </entry>
- <entry value="6" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY">
- <description>Generic autopilot supporting waypoints and other simple navigation commands</description>
- </entry>
- <entry value="7" name="MAV_AUTOPILOT_GENERIC_MISSION_FULL">
- <description>Generic autopilot supporting the full mission command set</description>
- </entry>
- <entry value="8" name="MAV_AUTOPILOT_INVALID">
- <description>No valid autopilot, e.g. a GCS or other MAVLink component</description>
- </entry>
- <entry value="9" name="MAV_AUTOPILOT_PPZ">
- <description>PPZ UAV - http://nongnu.org/paparazzi</description>
- </entry>
- <entry value="10" name="MAV_AUTOPILOT_UDB">
- <description>UAV Dev Board</description>
- </entry>
- <entry value="11" name="MAV_AUTOPILOT_FP">
- <description>FlexiPilot</description>
- </entry>
- <entry value="12" name="MAV_AUTOPILOT_PX4">
- <description>PX4 Autopilot - http://px4.io/</description>
- </entry>
- <entry value="13" name="MAV_AUTOPILOT_SMACCMPILOT">
- <description>SMACCMPilot - http://smaccmpilot.org</description>
- </entry>
- <entry value="14" name="MAV_AUTOPILOT_AUTOQUAD">
- <description>AutoQuad -- http://autoquad.org</description>
- </entry>
- <entry value="15" name="MAV_AUTOPILOT_ARMAZILA">
- <description>Armazila -- http://armazila.com</description>
- </entry>
- <entry value="16" name="MAV_AUTOPILOT_AEROB">
- <description>Aerob -- http://aerob.ru</description>
- </entry>
- <entry value="17" name="MAV_AUTOPILOT_ASLUAV">
- <description>ASLUAV autopilot -- http://www.asl.ethz.ch</description>
- </entry>
- <entry value="18" name="MAV_AUTOPILOT_SMARTAP">
- <description>SmartAP Autopilot - http://sky-drones.com</description>
- </entry>
- <entry value="19" name="MAV_AUTOPILOT_AIRRAILS">
- <description>AirRails - http://uaventure.com</description>
- </entry>
- </enum>
- <enum name="MAV_TYPE">
- <description>MAVLINK system type. All components in a system should report this type in their HEARTBEAT.</description>
- <entry value="0" name="MAV_TYPE_GENERIC">
- <description>Generic micro air vehicle.</description>
- </entry>
- <entry value="1" name="MAV_TYPE_FIXED_WING">
- <description>Fixed wing aircraft.</description>
- </entry>
- <entry value="2" name="MAV_TYPE_QUADROTOR">
- <description>Quadrotor</description>
- </entry>
- <entry value="3" name="MAV_TYPE_COAXIAL">
- <description>Coaxial helicopter</description>
- </entry>
- <entry value="4" name="MAV_TYPE_HELICOPTER">
- <description>Normal helicopter with tail rotor.</description>
- </entry>
- <entry value="5" name="MAV_TYPE_ANTENNA_TRACKER">
- <description>Ground installation</description>
- </entry>
- <entry value="6" name="MAV_TYPE_GCS">
- <description>Operator control unit / ground control station</description>
- </entry>
- <entry value="7" name="MAV_TYPE_AIRSHIP">
- <description>Airship, controlled</description>
- </entry>
- <entry value="8" name="MAV_TYPE_FREE_BALLOON">
- <description>Free balloon, uncontrolled</description>
- </entry>
- <entry value="9" name="MAV_TYPE_ROCKET">
- <description>Rocket</description>
- </entry>
- <entry value="10" name="MAV_TYPE_GROUND_ROVER">
- <description>Ground rover</description>
- </entry>
- <entry value="11" name="MAV_TYPE_SURFACE_BOAT">
- <description>Surface vessel, boat, ship</description>
- </entry>
- <entry value="12" name="MAV_TYPE_SUBMARINE">
- <description>Submarine</description>
- </entry>
- <entry value="13" name="MAV_TYPE_HEXAROTOR">
- <description>Hexarotor</description>
- </entry>
- <entry value="14" name="MAV_TYPE_OCTOROTOR">
- <description>Octorotor</description>
- </entry>
- <entry value="15" name="MAV_TYPE_TRICOPTER">
- <description>Tricopter</description>
- </entry>
- <entry value="16" name="MAV_TYPE_FLAPPING_WING">
- <description>Flapping wing</description>
- </entry>
- <entry value="17" name="MAV_TYPE_KITE">
- <description>Kite</description>
- </entry>
- <entry value="18" name="MAV_TYPE_ONBOARD_CONTROLLER">
- <description>Onboard companion controller</description>
- </entry>
- <entry value="19" name="MAV_TYPE_VTOL_DUOROTOR">
- <description>Two-rotor VTOL using control surfaces in vertical operation in addition. Tailsitter.</description>
- </entry>
- <entry value="20" name="MAV_TYPE_VTOL_QUADROTOR">
- <description>Quad-rotor VTOL using a V-shaped quad config in vertical operation. Tailsitter.</description>
- </entry>
- <entry value="21" name="MAV_TYPE_VTOL_TILTROTOR">
- <description>Tiltrotor VTOL</description>
- </entry>
- <!-- Entries up to 25 reserved for other VTOL airframes -->
- <entry value="22" name="MAV_TYPE_VTOL_RESERVED2">
- <description>VTOL reserved 2</description>
- </entry>
- <entry value="23" name="MAV_TYPE_VTOL_RESERVED3">
- <description>VTOL reserved 3</description>
- </entry>
- <entry value="24" name="MAV_TYPE_VTOL_RESERVED4">
- <description>VTOL reserved 4</description>
- </entry>
- <entry value="25" name="MAV_TYPE_VTOL_RESERVED5">
- <description>VTOL reserved 5</description>
- </entry>
- <entry value="26" name="MAV_TYPE_GIMBAL">
- <description>Gimbal (standalone)</description>
- </entry>
- <entry value="27" name="MAV_TYPE_ADSB">
- <description>ADSB system (standalone)</description>
- </entry>
- <entry value="28" name="MAV_TYPE_PARAFOIL">
- <description>Steerable, nonrigid airfoil</description>
- </entry>
- <entry value="29" name="MAV_TYPE_DODECAROTOR">
- <description>Dodecarotor</description>
- </entry>
- <entry value="30" name="MAV_TYPE_CAMERA">
- <description>Camera (standalone)</description>
- </entry>
- <entry value="31" name="MAV_TYPE_CHARGING_STATION">
- <description>Charging station</description>
- </entry>
- <entry value="32" name="MAV_TYPE_FLARM">
- <description>FLARM collision avoidance system (standalone)</description>
- </entry>
- </enum>
- <enum name="MAV_MODE_FLAG">
- <description>These flags encode the MAV mode.</description>
- <entry value="128" name="MAV_MODE_FLAG_SAFETY_ARMED">
- <description>0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. Additional note: this flag is to be ignore when sent in the command MAV_CMD_DO_SET_MODE and MAV_CMD_COMPONENT_ARM_DISARM shall be used instead. The flag can still be used to report the armed state.</description>
- </entry>
- <entry value="64" name="MAV_MODE_FLAG_MANUAL_INPUT_ENABLED">
- <description>0b01000000 remote control input is enabled.</description>
- </entry>
- <entry value="32" name="MAV_MODE_FLAG_HIL_ENABLED">
- <description>0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational.</description>
- </entry>
- <entry value="16" name="MAV_MODE_FLAG_STABILIZE_ENABLED">
- <description>0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around.</description>
- </entry>
- <entry value="8" name="MAV_MODE_FLAG_GUIDED_ENABLED">
- <description>0b00001000 guided mode enabled, system flies waypoints / mission items.</description>
- </entry>
- <entry value="4" name="MAV_MODE_FLAG_AUTO_ENABLED">
- <description>0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation.</description>
- </entry>
- <entry value="2" name="MAV_MODE_FLAG_TEST_ENABLED">
- <description>0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations.</description>
- </entry>
- <entry value="1" name="MAV_MODE_FLAG_CUSTOM_MODE_ENABLED">
- <description>0b00000001 Reserved for future use.</description>
- </entry>
- </enum>
- <enum name="MAV_MODE_FLAG_DECODE_POSITION">
- <description>These values encode the bit positions of the decode position. These values can be used to read the value of a flag bit by combining the base_mode variable with AND with the flag position value. The result will be either 0 or 1, depending on if the flag is set or not.</description>
- <entry value="128" name="MAV_MODE_FLAG_DECODE_POSITION_SAFETY">
- <description>First bit: 10000000</description>
- </entry>
- <entry value="64" name="MAV_MODE_FLAG_DECODE_POSITION_MANUAL">
- <description>Second bit: 01000000</description>
- </entry>
- <entry value="32" name="MAV_MODE_FLAG_DECODE_POSITION_HIL">
- <description>Third bit: 00100000</description>
- </entry>
- <entry value="16" name="MAV_MODE_FLAG_DECODE_POSITION_STABILIZE">
- <description>Fourth bit: 00010000</description>
- </entry>
- <entry value="8" name="MAV_MODE_FLAG_DECODE_POSITION_GUIDED">
- <description>Fifth bit: 00001000</description>
- </entry>
- <entry value="4" name="MAV_MODE_FLAG_DECODE_POSITION_AUTO">
- <description>Sixt bit: 00000100</description>
- </entry>
- <entry value="2" name="MAV_MODE_FLAG_DECODE_POSITION_TEST">
- <description>Seventh bit: 00000010</description>
- </entry>
- <entry value="1" name="MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE">
- <description>Eighth bit: 00000001</description>
- </entry>
- </enum>
- <enum name="MAV_STATE">
- <entry value="0" name="MAV_STATE_UNINIT">
- <description>Uninitialized system, state is unknown.</description>
- </entry>
- <entry name="MAV_STATE_BOOT">
- <description>System is booting up.</description>
- </entry>
- <entry name="MAV_STATE_CALIBRATING">
- <description>System is calibrating and not flight-ready.</description>
- </entry>
- <entry name="MAV_STATE_STANDBY">
- <description>System is grounded and on standby. It can be launched any time.</description>
- </entry>
- <entry name="MAV_STATE_ACTIVE">
- <description>System is active and might be already airborne. Motors are engaged.</description>
- </entry>
- <entry name="MAV_STATE_CRITICAL">
- <description>System is in a non-normal flight mode. It can however still navigate.</description>
- </entry>
- <entry name="MAV_STATE_EMERGENCY">
- <description>System is in a non-normal flight mode. It lost control over parts or over the whole airframe. It is in mayday and going down.</description>
- </entry>
- <entry name="MAV_STATE_POWEROFF">
- <description>System just initialized its power-down sequence, will shut down now.</description>
- </entry>
- <entry name="MAV_STATE_FLIGHT_TERMINATION">
- <description>System is terminating itself.</description>
- </entry>
- </enum>
- <enum name="MAV_COMPONENT">
- <description>Component ids (values) for the different types and instances of onboard hardware/software that might make up a MAVLink system (autopilot, cameras, servos, GPS systems, avoidance systems etc.).
- Components must use the appropriate ID in their source address when sending messages. Components can also use IDs to determine if they are the intended recipient of an incoming message. The MAV_COMP_ID_ALL value is used to indicate messages that must be processed by all components.
- When creating new entries, components that can have multiple instances (e.g. cameras, servos etc.) should be allocated sequential values. An appropriate number of values should be left free after these components to allow the number of instances to be expanded.</description>
- <entry value="0" name="MAV_COMP_ID_ALL">
- <description>Used to broadcast messages to all components of the receiving system. Components should attempt to process messages with this component ID and forward to components on any other interfaces.</description>
- </entry>
- <entry value="1" name="MAV_COMP_ID_AUTOPILOT1">
- <description>System flight controller component ("autopilot"). Only one autopilot is expected in a particular system.</description>
- </entry>
- <entry value="100" name="MAV_COMP_ID_CAMERA">
- <description>Camera #1.</description>
- </entry>
- <entry value="101" name="MAV_COMP_ID_CAMERA2">
- <description>Camera #2.</description>
- </entry>
- <entry value="102" name="MAV_COMP_ID_CAMERA3">
- <description>Camera #3.</description>
- </entry>
- <entry value="103" name="MAV_COMP_ID_CAMERA4">
- <description>Camera #4.</description>
- </entry>
- <entry value="104" name="MAV_COMP_ID_CAMERA5">
- <description>Camera #5.</description>
- </entry>
- <entry value="105" name="MAV_COMP_ID_CAMERA6">
- <description>Camera #6.</description>
- </entry>
- <entry value="140" name="MAV_COMP_ID_SERVO1">
- <description>Servo #1.</description>
- </entry>
- <entry value="141" name="MAV_COMP_ID_SERVO2">
- <description>Servo #2.</description>
- </entry>
- <entry value="142" name="MAV_COMP_ID_SERVO3">
- <description>Servo #3.</description>
- </entry>
- <entry value="143" name="MAV_COMP_ID_SERVO4">
- <description>Servo #4.</description>
- </entry>
- <entry value="144" name="MAV_COMP_ID_SERVO5">
- <description>Servo #5.</description>
- </entry>
- <entry value="145" name="MAV_COMP_ID_SERVO6">
- <description>Servo #6.</description>
- </entry>
- <entry value="146" name="MAV_COMP_ID_SERVO7">
- <description>Servo #7.</description>
- </entry>
- <entry value="147" name="MAV_COMP_ID_SERVO8">
- <description>Servo #8.</description>
- </entry>
- <entry value="148" name="MAV_COMP_ID_SERVO9">
- <description>Servo #9.</description>
- </entry>
- <entry value="149" name="MAV_COMP_ID_SERVO10">
- <description>Servo #10.</description>
- </entry>
- <entry value="150" name="MAV_COMP_ID_SERVO11">
- <description>Servo #11.</description>
- </entry>
- <entry value="151" name="MAV_COMP_ID_SERVO12">
- <description>Servo #12.</description>
- </entry>
- <entry value="152" name="MAV_COMP_ID_SERVO13">
- <description>Servo #13.</description>
- </entry>
- <entry value="153" name="MAV_COMP_ID_SERVO14">
- <description>Servo #14.</description>
- </entry>
- <entry value="154" name="MAV_COMP_ID_GIMBAL">
- <description>Gimbal component.</description>
- </entry>
- <entry value="155" name="MAV_COMP_ID_LOG">
- <description>Logging component.</description>
- </entry>
- <entry value="156" name="MAV_COMP_ID_ADSB">
- <description>Automatic Dependent Surveillance-Broadcast (ADS-B) component.</description>
- </entry>
- <entry value="157" name="MAV_COMP_ID_OSD">
- <description>On Screen Display (OSD) devices for video links.</description>
- </entry>
- <entry value="158" name="MAV_COMP_ID_PERIPHERAL">
- <description>Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter microservice.</description>
- </entry>
- <entry value="159" name="MAV_COMP_ID_QX1_GIMBAL">
- <deprecated since="2018-11" replaced_by="MAV_COMP_ID_GIMBAL">All gimbals should use MAV_COMP_ID_GIMBAL.</deprecated>
- <description>Gimbal ID for QX1.</description>
- </entry>
- <entry value="160" name="MAV_COMP_ID_FLARM">
- <description>FLARM collision alert component.</description>
- </entry>
- <entry value="190" name="MAV_COMP_ID_MISSIONPLANNER">
- <description>Component that supports the Mission microservice.</description>
- </entry>
- <entry value="195" name="MAV_COMP_ID_PATHPLANNER">
- <description>Component that finds an optimal path between points based on a certain constraint (e.g. minimum snap, shortest path, cost, etc.).</description>
- </entry>
- <entry value="196" name="MAV_COMP_ID_OBSTACLE_AVOIDANCE">
- <description>Component that plans a collision free path between two points.</description>
- </entry>
- <entry value="197" name="MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY">
- <description>Component that provides position estimates using VIO techniques.</description>
- </entry>
- <entry value="200" name="MAV_COMP_ID_IMU">
- <description>Inertial Measurement Unit (IMU) #1.</description>
- </entry>
- <entry value="201" name="MAV_COMP_ID_IMU_2">
- <description>Inertial Measurement Unit (IMU) #2.</description>
- </entry>
- <entry value="202" name="MAV_COMP_ID_IMU_3">
- <description>Inertial Measurement Unit (IMU) #3.</description>
- </entry>
- <entry value="220" name="MAV_COMP_ID_GPS">
- <description>GPS #1.</description>
- </entry>
- <entry value="221" name="MAV_COMP_ID_GPS2">
- <description>GPS #2.</description>
- </entry>
- <entry value="240" name="MAV_COMP_ID_UDP_BRIDGE">
- <description>Component to bridge MAVLink to UDP (i.e. from a UART).</description>
- </entry>
- <entry value="241" name="MAV_COMP_ID_UART_BRIDGE">
- <description>Component to bridge to UART (i.e. from UDP).</description>
- </entry>
- <entry value="250" name="MAV_COMP_ID_SYSTEM_CONTROL">
- <deprecated since="2018-11" replaced_by="MAV_COMP_ID_ALL">System control does not require a separate component ID.</deprecated>
- <description>Component for handling system messages (e.g. to ARM, takeoff, etc.).</description>
- </entry>
- </enum>
- </enums>
- <messages>
- <message id="0" name="HEARTBEAT">
- <description>The heartbeat message shows that a system or component is present and responding. The type and autopilot fields (along with the message component id), allow the receiving system to treat further messages from this system appropriately (e.g. by laying out the user interface based on the autopilot).</description>
- <field type="uint8_t" name="type" enum="MAV_TYPE">Type of the system (quadrotor, helicopter, etc.). Components use the same type as their associated system.</field>
- <field type="uint8_t" name="autopilot" enum="MAV_AUTOPILOT">Autopilot type / class.</field>
- <field type="uint8_t" name="base_mode" enum="MAV_MODE_FLAG" display="bitmask">System mode bitmap.</field>
- <field type="uint32_t" name="custom_mode">A bitfield for use for autopilot-specific flags</field>
- <field type="uint8_t" name="system_status" enum="MAV_STATE">System status flag.</field>
- <field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version</field>
- </message>
- </messages>
- </mavlink>
|