Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1702 - 1
<?xml version='1.0'?>
2
<mavlink>
3
    <version>2</version>
4
    <enums>
5
          <enum name="MAV_AUTOPILOT">
6
               <description>Micro air vehicle / autopilot classes. This identifies the individual model.</description>
7
               <entry value="0" name="MAV_AUTOPILOT_GENERIC">
8
                    <description>Generic autopilot, full support for everything</description>
9
               </entry>
10
               <entry value="1" name="MAV_AUTOPILOT_PIXHAWK">
11
                    <description>PIXHAWK autopilot, http://pixhawk.ethz.ch</description>
12
               </entry>
13
               <entry value="2" name="MAV_AUTOPILOT_SLUGS">
14
                    <description>SLUGS autopilot, http://slugsuav.soe.ucsc.edu</description>
15
               </entry>
16
               <entry value="3" name="MAV_AUTOPILOT_ARDUPILOTMEGA">
17
                    <description>ArduPilotMega / ArduCopter, http://diydrones.com</description>
18
               </entry>
19
               <entry value="4" name="MAV_AUTOPILOT_OPENPILOT">
20
                    <description>OpenPilot, http://openpilot.org</description>
21
               </entry>
22
               <entry value="5" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY">
23
                    <description>Generic autopilot only supporting simple waypoints</description>
24
               </entry>
25
               <entry value="6" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY">
26
                    <description>Generic autopilot supporting waypoints and other simple navigation commands</description>
27
               </entry>
28
               <entry value="7" name="MAV_AUTOPILOT_GENERIC_MISSION_FULL">
29
                    <description>Generic autopilot supporting the full mission command set</description>
30
               </entry>
31
               <entry value="8" name="MAV_AUTOPILOT_INVALID">
32
                    <description>No valid autopilot, e.g. a GCS or other MAVLink component</description>
33
               </entry>
34
               <entry value="9" name="MAV_AUTOPILOT_PPZ">
35
                    <description>PPZ UAV - http://nongnu.org/paparazzi</description>
36
               </entry>
37
               <entry value="10" name="MAV_AUTOPILOT_UDB">
38
                    <description>UAV Dev Board</description>
39
               </entry>
40
               <entry value="11" name="MAV_AUTOPILOT_FP">
41
                    <description>FlexiPilot</description>
42
               </entry>
43
          </enum>
44
          <enum name="MAV_TYPE">
45
               <entry value="0" name="MAV_TYPE_GENERIC">
46
                    <description>Generic micro air vehicle.</description>
47
               </entry>
48
               <entry value="1" name="MAV_TYPE_FIXED_WING">
49
                    <description>Fixed wing aircraft.</description>
50
               </entry>
51
               <entry value="2" name="MAV_TYPE_QUADROTOR">
52
                    <description>Quadrotor</description>
53
               </entry>
54
               <entry value="3" name="MAV_TYPE_COAXIAL">
55
                    <description>Coaxial helicopter</description>
56
               </entry>
57
               <entry value="4" name="MAV_TYPE_HELICOPTER">
58
                    <description>Normal helicopter with tail rotor.</description>
59
               </entry>
60
               <entry value="5" name="MAV_TYPE_ANTENNA_TRACKER">
61
                    <description>Ground installation</description>
62
               </entry>
63
               <entry value="6" name="MAV_TYPE_GCS">
64
                    <description>Operator control unit / ground control station</description>
65
               </entry>
66
               <entry value="7" name="MAV_TYPE_AIRSHIP">
67
                    <description>Airship, controlled</description>
68
               </entry>
69
               <entry value="8" name="MAV_TYPE_FREE_BALLOON">
70
                    <description>Free balloon, uncontrolled</description>
71
               </entry>
72
               <entry value="9" name="MAV_TYPE_ROCKET">
73
                    <description>Rocket</description>
74
               </entry>
75
               <entry value="10" name="MAV_TYPE_GROUND_ROVER">
76
                    <description>Ground rover</description>
77
               </entry>
78
               <entry value="11" name="MAV_TYPE_SURFACE_BOAT">
79
                    <description>Surface vessel, boat, ship</description>
80
               </entry>
81
               <entry value="12" name="MAV_TYPE_SUBMARINE">
82
                    <description>Submarine</description>
83
               </entry>
84
               <entry value="13" name="MAV_TYPE_HEXAROTOR">
85
                    <description>Hexarotor</description>
86
               </entry>
87
               <entry value="14" name="MAV_TYPE_OCTOROTOR">
88
                    <description>Octorotor</description>
89
               </entry>
90
               <entry value="15" name="MAV_TYPE_TRICOPTER">
91
                    <description>Octorotor</description>
92
               </entry>
93
               <entry value="16" name="MAV_TYPE_FLAPPING_WING">
94
                    <description>Flapping wing</description>
95
               </entry>
96
          </enum>
97
          <enum name="MAV_MODE_FLAG">
98
                <description>These flags encode the MAV mode.</description>
99
                <entry value="128" name="MAV_MODE_FLAG_SAFETY_ARMED">
100
                     <description>0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly.</description>
101
                </entry>
102
                <entry value="64" name="MAV_MODE_FLAG_MANUAL_INPUT_ENABLED">
103
                     <description>0b01000000 remote control input is enabled.</description>
104
                </entry>
105
                <entry value="32" name="MAV_MODE_FLAG_HIL_ENABLED">
106
                      <description>0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational.</description>
107
                </entry>
108
                <entry value="16" name="MAV_MODE_FLAG_STABILIZE_ENABLED">
109
                     <description>0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around.</description>
110
                </entry>
111
                <entry value="8" name="MAV_MODE_FLAG_GUIDED_ENABLED">
112
                     <description>0b00001000 guided mode enabled, system flies MISSIONs / mission items.</description>
113
                </entry>
114
                <entry value="4" name="MAV_MODE_FLAG_AUTO_ENABLED">
115
                     <description>0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation.</description>
116
                </entry>
117
                <entry value="2" name="MAV_MODE_FLAG_TEST_ENABLED">
118
                     <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>
119
                </entry>
120
                <entry value="1" name="MAV_MODE_FLAG_CUSTOM_MODE_ENABLED">
121
                     <description>0b00000001 Reserved for future use.</description>
122
                </entry>
123
          </enum>
124
          <enum name="MAV_MODE_FLAG_DECODE_POSITION">
125
               <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>
126
                <entry value="128" name="MAV_MODE_FLAG_DECODE_POSITION_SAFETY">
127
                     <description>First bit:  10000000</description>
128
                </entry>
129
                <entry value="64" name="MAV_MODE_FLAG_DECODE_POSITION_MANUAL">
130
                     <description>Second bit: 01000000</description>
131
                </entry>
132
                <entry value="32" name="MAV_MODE_FLAG_DECODE_POSITION_HIL">
133
                     <description>Third bit:  00100000</description>
134
                </entry>
135
                <entry value="16" name="MAV_MODE_FLAG_DECODE_POSITION_STABILIZE">
136
                     <description>Fourth bit: 00010000</description>
137
                </entry>
138
                <entry value="8" name="MAV_MODE_FLAG_DECODE_POSITION_GUIDED">
139
                     <description>Fifth bit:  00001000</description>
140
                </entry>
141
                <entry value="4" name="MAV_MODE_FLAG_DECODE_POSITION_AUTO">
142
                     <description>Sixt bit:   00000100</description>
143
                </entry>
144
                <entry value="2" name="MAV_MODE_FLAG_DECODE_POSITION_TEST">
145
                     <description>Seventh bit: 00000010</description>
146
                </entry>
147
                <entry value="1" name="MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE">
148
                     <description>Eighth bit: 00000001</description>
149
                </entry>
150
          </enum>
151
          <enum name="MAV_STATE">
152
               <entry value="0" name="MAV_STATE_UNINIT">
153
                    <description>Uninitialized system, state is unknown.</description>
154
               </entry>
155
               <entry name="MAV_STATE_BOOT">
156
                    <description>System is booting up.</description>
157
               </entry>
158
               <entry name="MAV_STATE_CALIBRATING">
159
                    <description>System is calibrating and not flight-ready.</description>
160
               </entry>
161
               <entry name="MAV_STATE_STANDBY">
162
                    <description>System is grounded and on standby. It can be launched any time.</description>
163
               </entry>
164
               <entry name="MAV_STATE_ACTIVE">
165
                    <description>System is active and might be already airborne. Motors are engaged.</description>
166
               </entry>
167
               <entry name="MAV_STATE_CRITICAL">
168
                    <description>System is in a non-normal flight mode. It can however still navigate.</description>
169
               </entry>
170
               <entry name="MAV_STATE_EMERGENCY">
171
                    <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>
172
               </entry>
173
               <entry name="MAV_STATE_POWEROFF">
174
                    <description>System just initialized its power-down sequence, will shut down now.</description>
175
               </entry>
176
          </enum>
177
    </enums>
178
    <messages>
179
          <message id="0" name="HEARTBEAT">
180
               <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>
181
               <field type="uint8_t" name="type">Type of the MAV (quadrotor, helicopter, etc., up to 15 types, defined in MAV_TYPE ENUM)</field>
182
               <field type="uint8_t" name="autopilot">Autopilot type / class. defined in MAV_AUTOPILOT ENUM</field>
183
               <field type="uint8_t" name="base_mode">System mode bitfield, see MAV_MODE_FLAGS ENUM in mavlink/include/mavlink_types.h</field>
184
               <field type="uint32_t" name="custom_mode">A bitfield for use for autopilot-specific flags.</field>
185
               <field type="uint8_t" name="system_status">System status flag, see MAV_STATE ENUM</field>
186
               <field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version</field>
187
          </message>
188
    </messages>
189
</mavlink>