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
     <include>common.xml</include>
4
     <enums>
5
          <enum name="DATA_TYPES">
6
               <description>Content Types for data transmission handshake</description>
7
               <entry value="1" name="DATA_TYPE_JPEG_IMAGE"/>
8
               <entry value="2" name="DATA_TYPE_RAW_IMAGE"/>
9
               <entry value="3" name="DATA_TYPE_KINECT"/>
10
          </enum>
11
     </enums>
12
     <messages>
13
          <message id="151" name="SET_CAM_SHUTTER">
14
               <field type="uint8_t" name="cam_no">Camera id</field>
15
               <field type="uint8_t" name="cam_mode">Camera mode: 0 = auto, 1 = manual</field>
16
               <field type="uint8_t" name="trigger_pin">Trigger pin, 0-3 for PtGrey FireFly</field>
17
               <field type="uint16_t" name="interval">Shutter interval, in microseconds</field>
18
               <field type="uint16_t" name="exposure">Exposure time, in microseconds</field>
19
               <field type="float" name="gain">Camera gain</field>
20
          </message>
21
          <message id="152" name="IMAGE_TRIGGERED">
22
               <field type="uint64_t" name="timestamp">Timestamp</field>
23
               <field type="uint32_t" name="seq">IMU seq</field>
24
               <field type="float" name="roll">Roll angle in rad</field>
25
               <field type="float" name="pitch">Pitch angle in rad</field>
26
               <field type="float" name="yaw">Yaw angle in rad</field>
27
               <field type="float" name="local_z">Local frame Z coordinate (height over ground)</field>
28
               <field type="float" name="lat">GPS X coordinate</field>
29
               <field type="float" name="lon">GPS Y coordinate</field>
30
               <field type="float" name="alt">Global frame altitude</field>
31
               <field type="float" name="ground_x">Ground truth X</field>
32
               <field type="float" name="ground_y">Ground truth Y</field>
33
               <field type="float" name="ground_z">Ground truth Z</field>
34
          </message>
35
          <message id="153" name="IMAGE_TRIGGER_CONTROL">
36
               <field type="uint8_t" name="enable">0 to disable, 1 to enable</field>
37
          </message>
38
          <message id="154" name="IMAGE_AVAILABLE">
39
               <field type="uint64_t" name="cam_id">Camera id</field>
40
               <field type="uint8_t" name="cam_no">Camera # (starts with 0)</field>
41
               <field type="uint64_t" name="timestamp">Timestamp</field>
42
               <field type="uint64_t" name="valid_until">Until which timestamp this buffer will stay valid</field>
43
               <field type="uint32_t" name="img_seq">The image sequence number</field>
44
               <field type="uint32_t" name="img_buf_index">Position of the image in the buffer, starts with 0</field>
45
               <field type="uint16_t" name="width">Image width</field>
46
               <field type="uint16_t" name="height">Image height</field>
47
               <field type="uint16_t" name="depth">Image depth</field>
48
               <field type="uint8_t" name="channels">Image channels</field>
49
               <field type="uint32_t" name="key">Shared memory area key</field>
50
               <field type="uint32_t" name="exposure">Exposure time, in microseconds</field>
51
               <field type="float" name="gain">Camera gain</field>
52
               <field type="float" name="roll">Roll angle in rad</field>
53
               <field type="float" name="pitch">Pitch angle in rad</field>
54
               <field type="float" name="yaw">Yaw angle in rad</field>
55
               <field type="float" name="local_z">Local frame Z coordinate (height over ground)</field>
56
               <field type="float" name="lat">GPS X coordinate</field>
57
               <field type="float" name="lon">GPS Y coordinate</field>
58
               <field type="float" name="alt">Global frame altitude</field>
59
               <field type="float" name="ground_x">Ground truth X</field>
60
               <field type="float" name="ground_y">Ground truth Y</field>
61
               <field type="float" name="ground_z">Ground truth Z</field>
62
          </message>
63
          <message id="156" name="VISION_POSITION_ESTIMATE">
64
               <field type="uint64_t" name="usec">Timestamp (milliseconds)</field>
65
               <field type="float" name="x">Global X position</field>
66
               <field type="float" name="y">Global Y position</field>
67
               <field type="float" name="z">Global Z position</field>
68
               <field type="float" name="roll">Roll angle in rad</field>
69
               <field type="float" name="pitch">Pitch angle in rad</field>
70
               <field type="float" name="yaw">Yaw angle in rad</field>
71
          </message>
72
          <message id="157" name="VICON_POSITION_ESTIMATE">
73
               <field type="uint64_t" name="usec">Timestamp (milliseconds)</field>
74
               <field type="float" name="x">Global X position</field>
75
               <field type="float" name="y">Global Y position</field>
76
               <field type="float" name="z">Global Z position</field>
77
               <field type="float" name="roll">Roll angle in rad</field>
78
               <field type="float" name="pitch">Pitch angle in rad</field>
79
               <field type="float" name="yaw">Yaw angle in rad</field>
80
          </message>
81
          <message id="158" name="VISION_SPEED_ESTIMATE">
82
               <field type="uint64_t" name="usec">Timestamp (milliseconds)</field>
83
               <field type="float" name="x">Global X speed</field>
84
               <field type="float" name="y">Global Y speed</field>
85
               <field type="float" name="z">Global Z speed</field>
86
          </message>
87
          <message id="159" name="POSITION_CONTROL_SETPOINT_SET">
88
               <description>Message sent to the MAV to set a new position as reference for the controller</description>
89
               <field type="uint8_t" name="target_system">System ID</field>
90
               <field type="uint8_t" name="target_component">Component ID</field>
91
               <field type="uint16_t" name="id">ID of waypoint, 0 for plain position</field>
92
               <field type="float" name="x">x position</field>
93
               <field type="float" name="y">y position</field>
94
               <field type="float" name="z">z position</field>
95
               <field type="float" name="yaw">yaw orientation in radians, 0 = NORTH</field>
96
          </message>
97
          <message id="160" name="POSITION_CONTROL_OFFSET_SET">
98
               <description>Message sent to the MAV to set a new offset from the currently controlled position</description>
99
               <field type="uint8_t" name="target_system">System ID</field>
100
               <field type="uint8_t" name="target_component">Component ID</field>
101
               <field type="float" name="x">x position offset</field>
102
               <field type="float" name="y">y position offset</field>
103
               <field type="float" name="z">z position offset</field>
104
               <field type="float" name="yaw">yaw orientation offset in radians, 0 = NORTH</field>
105
          </message>
106
          <!-- Message sent by the MAV once it sets a new position as reference in the controller -->
107
          <message id="170" name="POSITION_CONTROL_SETPOINT">
108
               <field type="uint16_t" name="id">ID of waypoint, 0 for plain position</field>
109
               <field type="float" name="x">x position</field>
110
               <field type="float" name="y">y position</field>
111
               <field type="float" name="z">z position</field>
112
               <field type="float" name="yaw">yaw orientation in radians, 0 = NORTH</field>
113
          </message>
114
          <message id="171" name="MARKER">
115
               <field type="uint16_t" name="id">ID</field>
116
               <field type="float" name="x">x position</field>
117
               <field type="float" name="y">y position</field>
118
               <field type="float" name="z">z position</field>
119
               <field type="float" name="roll">roll orientation</field>
120
               <field type="float" name="pitch">pitch orientation</field>
121
               <field type="float" name="yaw">yaw orientation</field>
122
          </message>
123
          <message id="172" name="RAW_AUX">
124
               <field type="uint16_t" name="adc1">ADC1 (J405 ADC3, LPC2148 AD0.6)</field>
125
               <field type="uint16_t" name="adc2">ADC2 (J405 ADC5, LPC2148 AD0.2)</field>
126
               <field type="uint16_t" name="adc3">ADC3 (J405 ADC6, LPC2148 AD0.1)</field>
127
               <field type="uint16_t" name="adc4">ADC4 (J405 ADC7, LPC2148 AD1.3)</field>
128
               <field type="uint16_t" name="vbat">Battery voltage</field>
129
               <field type="int16_t" name="temp">Temperature (degrees celcius)</field>
130
               <field type="int32_t" name="baro">Barometric pressure (hecto Pascal)</field>
131
          </message>
132
          <message id="180" name="WATCHDOG_HEARTBEAT">
133
               <field type="uint16_t" name="watchdog_id">Watchdog ID</field>
134
               <field type="uint16_t" name="process_count">Number of processes</field>
135
          </message>
136
          <message id="181" name="WATCHDOG_PROCESS_INFO">
137
               <field type="uint16_t" name="watchdog_id">Watchdog ID</field>
138
               <field type="uint16_t" name="process_id">Process ID</field>
139
               <field type="char[100]" name="name">Process name</field>
140
               <field type="char[147]" name="arguments">Process arguments</field>
141
               <field type="int32_t" name="timeout">Timeout (seconds)</field>
142
          </message>
143
          <message id="182" name="WATCHDOG_PROCESS_STATUS">
144
               <field type="uint16_t" name="watchdog_id">Watchdog ID</field>
145
               <field type="uint16_t" name="process_id">Process ID</field>
146
               <field type="uint8_t" name="state">Is running / finished / suspended / crashed</field>
147
               <field type="uint8_t" name="muted">Is muted</field>
148
               <field type="int32_t" name="pid">PID</field>
149
               <field type="uint16_t" name="crashes">Number of crashes</field>
150
          </message>
151
          <message id="183" name="WATCHDOG_COMMAND">
152
               <field type="uint8_t" name="target_system_id">Target system ID</field>
153
               <field type="uint16_t" name="watchdog_id">Watchdog ID</field>
154
               <field type="uint16_t" name="process_id">Process ID</field>
155
               <field type="uint8_t" name="command_id">Command ID</field>
156
          </message>
157
          <message id="190" name="PATTERN_DETECTED">
158
               <field type="uint8_t" name="type">0: Pattern, 1: Letter</field>
159
               <field type="float" name="confidence">Confidence of detection</field>
160
               <field type="char[100]" name="file">Pattern file name</field>
161
               <field type="uint8_t" name="detected">Accepted as true detection, 0 no, 1 yes</field>
162
          </message>
163
          <message id="191" name="POINT_OF_INTEREST">
164
               <description>Notifies the operator about a point of interest (POI). This can be anything detected by the
165
                system. This generic message is intented to help interfacing to generic visualizations and to display
166
                the POI on a map.
167
            </description>
168
               <field type="uint8_t" name="type">0: Notice, 1: Warning, 2: Critical, 3: Emergency, 4: Debug</field>
169
               <field type="uint8_t" name="color">0: blue, 1: yellow, 2: red, 3: orange, 4: green, 5: magenta</field>
170
               <field type="uint8_t" name="coordinate_system">0: global, 1:local</field>
171
               <field type="uint16_t" name="timeout">0: no timeout, >1: timeout in seconds</field>
172
               <field type="float" name="x">X Position</field>
173
               <field type="float" name="y">Y Position</field>
174
               <field type="float" name="z">Z Position</field>
175
               <field type="char[26]" name="name">POI name</field>
176
          </message>
177
          <message id="192" name="POINT_OF_INTEREST_CONNECTION">
178
               <description>Notifies the operator about the connection of two point of interests (POI). This can be anything detected by the
179
                system. This generic message is intented to help interfacing to generic visualizations and to display
180
                the POI on a map.
181
            </description>
182
               <field type="uint8_t" name="type">0: Notice, 1: Warning, 2: Critical, 3: Emergency, 4: Debug</field>
183
               <field type="uint8_t" name="color">0: blue, 1: yellow, 2: red, 3: orange, 4: green, 5: magenta</field>
184
               <field type="uint8_t" name="coordinate_system">0: global, 1:local</field>
185
               <field type="uint16_t" name="timeout">0: no timeout, >1: timeout in seconds</field>
186
               <field type="float" name="xp1">X1 Position</field>
187
               <field type="float" name="yp1">Y1 Position</field>
188
               <field type="float" name="zp1">Z1 Position</field>
189
               <field type="float" name="xp2">X2 Position</field>
190
               <field type="float" name="yp2">Y2 Position</field>
191
               <field type="float" name="zp2">Z2 Position</field>
192
               <field type="char[26]" name="name">POI connection name</field>
193
          </message>
194
          <message id="193" name="DATA_TRANSMISSION_HANDSHAKE">
195
               <field type="uint8_t" name="type">type of requested/acknowledged data (as defined in ENUM DATA_TYPES in mavlink/include/mavlink_types.h)</field>
196
               <field type="uint32_t" name="size">total data size in bytes (set on ACK only)</field>
197
               <field type="uint8_t" name="packets">number of packets beeing sent (set on ACK only)</field>
198
               <field type="uint8_t" name="payload">payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only)</field>
199
               <field type="uint8_t" name="jpg_quality">JPEG quality out of [1,100]</field>
200
          </message>
201
          <message id="194" name="ENCAPSULATED_DATA">
202
               <field type="uint16_t" name="seqnr">sequence number (starting with 0 on every transmission)</field>
203
               <field type="uint8_t[253]" name="data">image data bytes</field>
204
          </message>
205
          <message id="195" name="BRIEF_FEATURE">
206
               <field type="float" name="x">x position in m</field>
207
               <field type="float" name="y">y position in m</field>
208
               <field type="float" name="z">z position in m</field>
209
               <field type="uint8_t" name="orientation_assignment">Orientation assignment 0: false, 1:true</field>
210
               <field type="uint16_t" name="size">Size in pixels</field>
211
               <field type="uint16_t" name="orientation">Orientation</field>
212
               <field type="uint8_t[32]" name="descriptor">Descriptor</field>
213
               <field type="float" name="response">Harris operator response at this location</field>
214
          </message>
215
                    <message id="200" name="ATTITUDE_CONTROL">
216
               <field type="uint8_t" name="target">The system to be controlled</field>
217
               <field type="float" name="roll">roll</field>
218
               <field type="float" name="pitch">pitch</field>
219
               <field type="float" name="yaw">yaw</field>
220
               <field type="float" name="thrust">thrust</field>
221
               <field type="uint8_t" name="roll_manual">roll control enabled auto:0, manual:1</field>
222
               <field type="uint8_t" name="pitch_manual">pitch auto:0, manual:1</field>
223
               <field type="uint8_t" name="yaw_manual">yaw auto:0, manual:1</field>
224
               <field type="uint8_t" name="thrust_manual">thrust auto:0, manual:1</field>
225
          </message>
226
     </messages>
227
</mavlink>