Subversion Repositories Projects

Rev

Blame | Last modification | View Log | RSS feed

<?xml version='1.0'?>
<mavlink>
    <version>2</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_PIXHAWK">
                    <description>PIXHAWK autopilot, http://pixhawk.ethz.ch</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>ArduPilotMega / ArduCopter, http://diydrones.com</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>
          </enum>
          <enum name="MAV_TYPE">
               <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>Octorotor</description>
               </entry>
               <entry value="16" name="MAV_TYPE_FLAPPING_WING">
                    <description>Flapping wing</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.</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 MISSIONs / 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>
          </enum>
    </enums>
    <messages>
          <message id="0" name="HEARTBEAT">
               <description>The heartbeat message shows that a system is present and responding. The type of the MAV and Autopilot hardware allow the receiving system to treat further messages from this system appropriate (e.g. by laying out the user interface based on the autopilot).</description>
               <field type="uint8_t" name="type">Type of the MAV (quadrotor, helicopter, etc., up to 15 types, defined in MAV_TYPE ENUM)</field>
               <field type="uint8_t" name="autopilot">Autopilot type / class. defined in MAV_AUTOPILOT ENUM</field>
               <field type="uint8_t" name="base_mode">System mode bitfield, see MAV_MODE_FLAGS ENUM in mavlink/include/mavlink_types.h</field>
               <field type="uint32_t" name="custom_mode">A bitfield for use for autopilot-specific flags.</field>
               <field type="uint8_t" name="system_status">System status flag, see MAV_STATE ENUM</field>
               <field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version</field>
          </message>
    </messages>
</mavlink>