Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
abi_sender_ids.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Felix Ruess <felix.ruess@gmail.com>
3  *
4  * This file is part of paparazzi.
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, write to
18  * the Free Software Foundation, 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
28 #ifndef ABI_SENDER_IDS_H
29 #define ABI_SENDER_IDS_H
30 
32 #ifndef BARO_BOARD_SENDER_ID
33 #define BARO_BOARD_SENDER_ID 1
34 #endif
35 
36 /*
37  * IDs of baro modules that can be loaded (message 0)
38  */
39 #ifndef BARO_MS5611_SENDER_ID
40 #define BARO_MS5611_SENDER_ID 10
41 #endif
42 
43 #ifndef BARO_AMSYS_SENDER_ID
44 #define BARO_AMSYS_SENDER_ID 11
45 #endif
46 
47 #ifndef BARO_BMP_SENDER_ID
48 #define BARO_BMP_SENDER_ID 12
49 #endif
50 
51 #ifndef BARO_ETS_SENDER_ID
52 #define BARO_ETS_SENDER_ID 13
53 #endif
54 
55 #ifndef BARO_MS5534A_SENDER_ID
56 #define BARO_MS5534A_SENDER_ID 14
57 #endif
58 
59 #ifndef BARO_HCA_SENDER_ID
60 #define BARO_HCA_SENDER_ID 15
61 #endif
62 
63 #ifndef BARO_MPL3115_SENDER_ID
64 #define BARO_MPL3115_SENDER_ID 16
65 #endif
66 
67 #ifndef BARO_SCP_SENDER_ID
68 #define BARO_SCP_SENDER_ID 17
69 #endif
70 
71 #ifndef BARO_SIM_SENDER_ID
72 #define BARO_SIM_SENDER_ID 19
73 #endif
74 
75 #ifndef METEO_STICK_SENDER_ID
76 #define METEO_STICK_SENDER_ID 30
77 #endif
78 
79 /*
80  * IDs of differential pressure sensors (message 1)
81  * can usually also publish temperature like baro sensors
82  */
83 #ifndef MS45XX_SENDER_ID
84 #define MS45XX_SENDER_ID 40
85 #endif
86 
87 /*
88  * IDs of airspeed sensors (message 14)
89  */
90 #ifndef AIRSPEED_NPS_ID
91 #define AIRSPEED_NPS_ID 1
92 #endif
93 
94 #ifndef AIRSPEED_ADC_ID
95 #define AIRSPEED_ADC_ID 2
96 #endif
97 
98 /*
99  * IDs of Incidence angles (message 24)
100  */
101 #ifndef AOA_ADC_ID
102 #define AOA_ADC_ID 1
103 #endif
104 
105 #ifndef AOA_PWM_ID
106 #define AOA_PWM_ID 2
107 #endif
108 
109 #ifndef INCIDENCE_NPS_ID
110 #define INCIDENCE_NPS_ID 20
111 #endif
112 
113 /*
114  * IDs of AGL measurment modules that can be loaded (sonars,...) (message 2)
115  */
116 #ifndef AGL_SONAR_ADC_ID
117 #define AGL_SONAR_ADC_ID 1
118 #endif
119 
120 #ifndef AGL_SONAR_ARDRONE2_ID
121 #define AGL_SONAR_ARDRONE2_ID 2
122 #endif
123 
124 #ifndef AGL_SONAR_NPS_ID
125 #define AGL_SONAR_NPS_ID 3
126 #endif
127 
128 #ifndef AGL_SONAR_PX4FLOW_ID
129 #define AGL_SONAR_PX4FLOW_ID 4
130 #endif
131 
132 #ifndef AGL_TERARANGER_ONE_ID
133 #define AGL_TERARANGER_ONE_ID 5
134 #endif
135 
136 #ifndef AGL_LIDAR_LITE_ID
137 #define AGL_LIDAR_LITE_ID 6
138 #endif
139 
140 #ifndef AGL_PX4FLOW_ID
141 #define AGL_PX4FLOW_ID 7
142 #endif
143 
144 #ifndef AGL_LIDAR_SF11_ID
145 #define AGL_LIDAR_SF11_ID 8
146 #endif
147 
148 #ifndef AGL_VL53L0_LASER_ARRAY_ID
149 #define AGL_VL53L0_LASER_ARRAY_ID 9
150 #endif
151 
152 #ifndef AGL_RAY_SENSOR_GAZEBO_ID
153 #define AGL_RAY_SENSOR_GAZEBO_ID 10
154 #endif
155 
156 /*
157  * IDs of magnetometer sensors (including IMUs with mag)
158  */
159 
160 #ifndef MAG_HMC58XX_SENDER_ID
161 #define MAG_HMC58XX_SENDER_ID 2
162 #endif
163 
164 #ifndef IMU_MAG_PITOT_ID
165 #define IMU_MAG_PITOT_ID 50
166 #endif
167 
168 /*
169  * IDs of GPS sensors (message 10)
170  */
171 #ifndef GPS_UBX_ID
172 #define GPS_UBX_ID 1
173 #endif
174 
175 #ifndef GPS_NMEA_ID
176 #define GPS_NMEA_ID 2
177 #endif
178 
179 #ifndef GPS_SIRF_ID
180 #define GPS_SIRF_ID 3
181 #endif
182 
183 #ifndef GPS_SKYTRAQ_ID
184 #define GPS_SKYTRAQ_ID 4
185 #endif
186 
187 #ifndef GPS_MTK_ID
188 #define GPS_MTK_ID 5
189 #endif
190 
191 #ifndef GPS_PIKSI_ID
192 #define GPS_PIKSI_ID 6
193 #endif
194 
195 #ifndef GPS_XSENS_ID
196 #define GPS_XSENS_ID 7
197 #endif
198 
199 #ifndef GPS_DATALINK_ID
200 #define GPS_DATALINK_ID 8
201 #endif
202 
203 #ifndef GPS_UDP_ID
204 #define GPS_UDP_ID 9
205 #endif
206 
207 #ifndef GPS_ARDRONE2_ID
208 #define GPS_ARDRONE2_ID 10
209 #endif
210 
211 #ifndef GPS_SIM_ID
212 #define GPS_SIM_ID 11
213 #endif
214 
215 #ifndef GPS_MULTI_ID
216 #define GPS_MULTI_ID 12
217 #endif
218 
219 #ifndef GPS_VECTORNAV_ID
220 #define GPS_VECTORNAV_ID 13
221 #endif
222 
223 #ifndef GPS_IMCU_ID
224 #define GPS_IMCU_ID 14
225 #endif
226 
227 #ifndef GPS_DW1000_ID
228 #define GPS_DW1000_ID 15
229 #endif
230 
231 /*
232  * IDs of IMU sensors (accel, gyro)
233  */
234 #ifndef IMU_BOARD_ID
235 #define IMU_BOARD_ID 1
236 #endif
237 
238 #ifndef IMU_ANALOG_ID
239 #define IMU_ANALOG_ID 2
240 #endif
241 
242 #ifndef IMU_ASPIRIN_ID
243 #define IMU_ASPIRIN_ID 3
244 #endif
245 
246 #ifndef IMU_ASPIRIN2_ID
247 #define IMU_ASPIRIN2_ID 4
248 #endif
249 
250 #ifndef IMU_B2_ID
251 #define IMU_B2_ID 5
252 #endif
253 
254 #ifndef IMU_CRISTA_ID
255 #define IMU_CRISTA_ID 6
256 #endif
257 
258 #ifndef IMU_DROTEK_ID
259 #define IMU_DROTEK_ID 7
260 #endif
261 
262 #ifndef IMU_GL1_ID
263 #define IMU_GL1_ID 8
264 #endif
265 
266 #ifndef IMU_MPU6000_ID
267 #define IMU_MPU6000_ID 9
268 #endif
269 
270 #ifndef IMU_MPU6000_HMC_ID
271 #define IMU_MPU6000_HMC_ID 10
272 #endif
273 
274 #ifndef IMU_MPU9250_ID
275 #define IMU_MPU9250_ID 11
276 #endif
277 
278 #ifndef IMU_PPZUAV_ID
279 #define IMU_PPZUAV_ID 12
280 #endif
281 
282 #ifndef IMU_UM6_ID
283 #define IMU_UM6_ID 13
284 #endif
285 
286 #ifndef IMU_GX3_ID
287 #define IMU_GX3_ID 14
288 #endif
289 
290 #ifndef IMU_XSENS_ID
291 #define IMU_XSENS_ID 15
292 #endif
293 
294 #ifndef IMU_MPU60X0_ID
295 #define IMU_MPU60X0_ID 16
296 #endif
297 
298 #ifndef IMU_PX4_ID
299 #define IMU_PX4_ID 17
300 #endif
301 
302 #ifndef IMU_VECTORNAV_ID
303 #define IMU_VECTORNAV_ID 18
304 #endif
305 
306 /*
307  * IDs of OPTICFLOW estimates (message 11)
308  */
309 #ifndef FLOW_OPTICFLOW_ID
310 #define FLOW_OPTICFLOW_ID 1
311 #endif
312 
313 /*
314  * IDs of VELOCITY estimates (message 12)
315  */
316 #ifndef VEL_DRAGSPEED_ID
317 #define VEL_DRAGSPEED_ID 1
318 #endif
319 
320 #ifndef VEL_PX4FLOW_ID
321 #define VEL_PX4FLOW_ID 2
322 #endif
323 
324 #ifndef VEL_OPTICFLOW_ID
325 #define VEL_OPTICFLOW_ID 3
326 #endif
327 
328 #ifndef VEL_STEREOCAM_ID
329 #define VEL_STEREOCAM_ID 4
330 #endif
331 
332 /*
333  * IDs of RSSI measurements (message 13)
334  */
335 #ifndef RSSI_BLUEGIGA_ID
336 #define RSSI_BLUEGIGA_ID 1
337 #endif
338 
339 /*
340  * IDs of RPM sensors (message 15)
341  */
342 #ifndef RPM_SENSOR_ID
343 #define RPM_SENSOR_ID 1
344 #endif
345 
346 /*
347  * IDs of THRUST increment calculation (message 16)
348  */
349 #ifndef THRUST_INCREMENT_ID
350 #define THRUST_INCREMENT_ID 1
351 #endif
352 
353 #ifndef MAG_CALIB_UKF_ID
354 #define MAG_CALIB_UKF_ID 20
355 #endif
356 
357 /*
358  * UWB communication (message 19)
359 */
360 #ifndef UWB_COMM_ID
361 #define UWB_COMM_ID 1
362 #endif
363 
364 /*
365  * IDs of Obstacle detection systems
366  */
367 
368 #ifndef OBS_DETECTION_COLOR_ID
369 #define OBS_DETECTION_COLOR_ID 1
370 #endif
371 
372 #ifndef OBS_DETECTION_RANGE_ARRAY_ID
373 #define OBS_DETECTION_RANGE_ARRAY_ID 2
374 #endif
375 
376 #ifndef OBS_DETECTION_RANGE_ARRAY_NPS_ID
377 #define OBS_DETECTION_RANGE_ARRAY_NPS_ID 3
378 #endif
379 
380 /*
381  * ID's of forcefield generating type functions
382  */
383 
384 #ifndef RANGE_FORCEFIELD_ID
385 #define RANGE_FORCEFIELD_ID 1
386 #endif
387 
388 /*
389  * ID's for camera type sensors
390  */
391 
392 #ifndef CAM_JEVOIS_ID
393 #define CAM_JEVOIS_ID 1
394 #endif
395 
396 /*
397  * IDs of ACCEL_SP senders (message 21)
398  */
399 
400 #ifndef ACCEL_SP_FCR_ID
401 #define ACCEL_SP_FCR_ID 1 // Formation Control Rotorcraft
402 #endif
403 
404 /*
405  * RELATIVE_LOCALIZATION communication (message 24)
406 */
407 #ifndef RELATIVE_LOCALIZATION_ID
408 #define RELATIVE_LOCALIZATION_ID 1
409 #endif
410 
411 
412 #ifndef DETECT_GATE_ABI_ID
413 #define DETECT_GATE_ABI_ID 33
414 #endif
415 
416 #endif /* ABI_SENDER_IDS_H */