Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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 BARO_BMP3_SENDER_ID
76 #define BARO_BMP3_SENDER_ID 20
77 #endif
78 
79 #ifndef METEO_STICK_SENDER_ID
80 #define METEO_STICK_SENDER_ID 30
81 #endif
82 
83 /*
84  * IDs of differential pressure sensors (message 1)
85  * can usually also publish temperature like baro sensors
86  */
87 #ifndef MS45XX_SENDER_ID
88 #define MS45XX_SENDER_ID 40
89 #endif
90 
91 #ifndef SDP3X_SENDER_ID
92 #define SDP3X_SENDER_ID 41
93 #endif
94 
95 /*
96  * IDs of airspeed sensors (message 14)
97  */
98 #ifndef AIRSPEED_NPS_ID
99 #define AIRSPEED_NPS_ID 1
100 #endif
101 
102 #ifndef AIRSPEED_ADC_ID
103 #define AIRSPEED_ADC_ID 2
104 #endif
105 
106 #ifndef AIRSPEED_SDP3X_ID
107 #define AIRSPEED_SDP3X_ID 3
108 #endif
109 
110 /*
111  * IDs of Incidence angles (message 24)
112  */
113 #ifndef AOA_ADC_ID
114 #define AOA_ADC_ID 1
115 #endif
116 
117 #ifndef AOA_PWM_ID
118 #define AOA_PWM_ID 2
119 #endif
120 
121 #ifndef INCIDENCE_NPS_ID
122 #define INCIDENCE_NPS_ID 20
123 #endif
124 
125 /*
126  * IDs of AGL measurment modules that can be loaded (sonars, lidars,...) (message 2)
127  */
128 #ifndef AGL_SONAR_ADC_ID
129 #define AGL_SONAR_ADC_ID 1
130 #endif
131 
132 #ifndef AGL_SONAR_ARDRONE2_ID
133 #define AGL_SONAR_ARDRONE2_ID 2
134 #endif
135 
136 #ifndef AGL_SONAR_NPS_ID
137 #define AGL_SONAR_NPS_ID 3
138 #endif
139 
140 #ifndef AGL_SONAR_PX4FLOW_ID
141 #define AGL_SONAR_PX4FLOW_ID 4
142 #endif
143 
144 #ifndef AGL_TERARANGER_ONE_ID
145 #define AGL_TERARANGER_ONE_ID 5
146 #endif
147 
148 #ifndef AGL_LIDAR_LITE_ID
149 #define AGL_LIDAR_LITE_ID 6
150 #endif
151 
152 #ifndef AGL_PX4FLOW_ID
153 #define AGL_PX4FLOW_ID 7
154 #endif
155 
156 #ifndef AGL_LIDAR_SF11_ID
157 #define AGL_LIDAR_SF11_ID 8
158 #endif
159 
160 #ifndef AGL_VL53L0_LASER_ARRAY_ID
161 #define AGL_VL53L0_LASER_ARRAY_ID 9
162 #endif
163 
164 #ifndef AGL_RAY_SENSOR_GAZEBO_ID
165 #define AGL_RAY_SENSOR_GAZEBO_ID 10
166 #endif
167 
168 #ifndef AGL_LIDAR_TFMINI_ID
169 #define AGL_LIDAR_TFMINI_ID 11
170 #endif
171 
172 #ifndef AGL_VL53L1X_ID
173 #define AGL_VL53L1X_ID 12
174 #endif
175 
176 #ifndef AGL_SONAR_PWM_ID
177 #define AGL_SONAR_PWM_ID 13
178 #endif
179 
180 #ifndef AGL_LIDAR_TFMINI_I2C_ID
181 #define AGL_LIDAR_TFMINI_I2C_ID 14
182 #endif
183 
184 #ifndef AGL_LIDAR_MATEKSYS_3901_L0X_ID
185 #define AGL_LIDAR_MATEKSYS_3901_L0X_ID 15
186 #endif
187 
188 /*
189  * IDs of magnetometer sensors (including IMUs with mag)
190  */
191 
192 #ifndef MAG_HMC58XX_SENDER_ID
193 #define MAG_HMC58XX_SENDER_ID 2
194 #endif
195 
196 #ifndef MAG_LIS3MDL_SENDER_ID
197 #define MAG_LIS3MDL_SENDER_ID 3
198 #endif
199 
200 #ifndef MAG_IST8310_SENDER_ID
201 #define MAG_IST8310_SENDER_ID 4
202 #endif
203 
204 #ifndef IMU_MAG_PITOT_ID
205 #define IMU_MAG_PITOT_ID 50
206 #endif
207 
208 /*
209  * IDs of GPS sensors (message 10)
210  */
211 #ifndef GPS_UBX_ID
212 #define GPS_UBX_ID 1
213 #endif
214 
215 #ifndef GPS_NMEA_ID
216 #define GPS_NMEA_ID 2
217 #endif
218 
219 #ifndef GPS_SIRF_ID
220 #define GPS_SIRF_ID 3
221 #endif
222 
223 #ifndef GPS_SKYTRAQ_ID
224 #define GPS_SKYTRAQ_ID 4
225 #endif
226 
227 #ifndef GPS_MTK_ID
228 #define GPS_MTK_ID 5
229 #endif
230 
231 #ifndef GPS_PIKSI_ID
232 #define GPS_PIKSI_ID 6
233 #endif
234 
235 #ifndef GPS_XSENS_ID
236 #define GPS_XSENS_ID 7
237 #endif
238 
239 #ifndef GPS_DATALINK_ID
240 #define GPS_DATALINK_ID 8
241 #endif
242 
243 #ifndef GPS_UDP_ID
244 #define GPS_UDP_ID 9
245 #endif
246 
247 #ifndef GPS_ARDRONE2_ID
248 #define GPS_ARDRONE2_ID 10
249 #endif
250 
251 #ifndef GPS_SIM_ID
252 #define GPS_SIM_ID 11
253 #endif
254 
255 #ifndef GPS_MULTI_ID
256 #define GPS_MULTI_ID 12
257 #endif
258 
259 #ifndef GPS_VECTORNAV_ID
260 #define GPS_VECTORNAV_ID 13
261 #endif
262 
263 #ifndef GPS_IMCU_ID
264 #define GPS_IMCU_ID 14
265 #endif
266 
267 #ifndef GPS_DW1000_ID
268 #define GPS_DW1000_ID 15
269 #endif
270 
271 /*
272  * IDs of IMU sensors (accel, gyro)
273  */
274 #ifndef IMU_BOARD_ID
275 #define IMU_BOARD_ID 1
276 #endif
277 
278 #ifndef IMU_ANALOG_ID
279 #define IMU_ANALOG_ID 2
280 #endif
281 
282 #ifndef IMU_ASPIRIN_ID
283 #define IMU_ASPIRIN_ID 3
284 #endif
285 
286 #ifndef IMU_ASPIRIN2_ID
287 #define IMU_ASPIRIN2_ID 4
288 #endif
289 
290 #ifndef IMU_B2_ID
291 #define IMU_B2_ID 5
292 #endif
293 
294 #ifndef IMU_CRISTA_ID
295 #define IMU_CRISTA_ID 6
296 #endif
297 
298 #ifndef IMU_DROTEK_ID
299 #define IMU_DROTEK_ID 7
300 #endif
301 
302 #ifndef IMU_GL1_ID
303 #define IMU_GL1_ID 8
304 #endif
305 
306 #ifndef IMU_MPU6000_ID
307 #define IMU_MPU6000_ID 9
308 #endif
309 
310 #ifndef IMU_MPU6000_HMC_ID
311 #define IMU_MPU6000_HMC_ID 10
312 #endif
313 
314 #ifndef IMU_MPU9250_ID
315 #define IMU_MPU9250_ID 11
316 #endif
317 
318 #ifndef IMU_PPZUAV_ID
319 #define IMU_PPZUAV_ID 12
320 #endif
321 
322 #ifndef IMU_UM6_ID
323 #define IMU_UM6_ID 13
324 #endif
325 
326 #ifndef IMU_GX3_ID
327 #define IMU_GX3_ID 14
328 #endif
329 
330 #ifndef IMU_XSENS_ID
331 #define IMU_XSENS_ID 15
332 #endif
333 
334 #ifndef IMU_MPU60X0_ID
335 #define IMU_MPU60X0_ID 16
336 #endif
337 
338 #ifndef IMU_PX4_ID
339 #define IMU_PX4_ID 17
340 #endif
341 
342 #ifndef IMU_VECTORNAV_ID
343 #define IMU_VECTORNAV_ID 18
344 #endif
345 
346 #ifndef IMU_BMI088_ID
347 #define IMU_BMI088_ID 19
348 #endif
349 
350 // prefiltering with OneEuro filter
351 #ifndef IMU_F1E_ID
352 #define IMU_F1E_ID 30
353 #endif
354 
355 /*
356  * IDs of OPTICFLOW estimates (message 11)
357  */
358 #ifndef FLOW_OPTICFLOW_ID
359 #define FLOW_OPTICFLOW_ID 1
360 #endif
361 
362 #ifndef FLOW_OPTICFLOW_CAM1_ID
363 #define FLOW_OPTICFLOW_CAM1_ID 1
364 #endif
365 
366 #ifndef FLOW_OPTICFLOW_CAM2_ID
367 #define FLOW_OPTICFLOW_CAM2_ID 2
368 #endif
369 
370 #ifndef FLOW_OPTICFLOW_PMW3901_ID
371 #define FLOW_OPTICFLOW_PMW3901_ID 3
372 #endif
373 
374 #ifndef FLOW_OPTICFLOW_MATEKSYS_3901_L0X_ID
375 #define FLOW_OPTICFLOW_MATEKSYS_3901_L0X_ID 4
376 #endif
377 
378 /*
379  * IDs of VELOCITY estimates (message 12)
380  */
381 #ifndef VEL_DRAGSPEED_ID
382 #define VEL_DRAGSPEED_ID 1
383 #endif
384 
385 #ifndef VEL_PX4FLOW_ID
386 #define VEL_PX4FLOW_ID 2
387 #endif
388 
389 #ifndef VEL_OPTICFLOW_ID
390 #define VEL_OPTICFLOW_ID 3
391 #endif
392 
393 #ifndef VEL_OPTICFLOW_CAM1_ID
394 #define VEL_OPTICFLOW_CAM1_ID 3
395 #endif
396 
397 #ifndef VEL_OPTICFLOW_CAM2_ID
398 #define VEL_OPTICFLOW_CAM2_ID 4
399 #endif
400 
401 #ifndef VEL_STEREOCAM_ID
402 #define VEL_STEREOCAM_ID 5
403 #endif
404 
405 #ifndef VEL_OPTICFLOW_PMW3901_ID
406 #define VEL_OPTICFLOW_PMW3901_ID 6
407 #endif
408 
409 /*
410  * IDs of RSSI measurements (message 13)
411  */
412 #ifndef RSSI_BLUEGIGA_ID
413 #define RSSI_BLUEGIGA_ID 1
414 #endif
415 
416 /*
417  * IDs of RPM sensors (message 15)
418  */
419 #ifndef RPM_SENSOR_ID
420 #define RPM_SENSOR_ID 1
421 #endif
422 
423 /*
424  * IDs of THRUST increment calculation (message 16)
425  */
426 #ifndef THRUST_INCREMENT_ID
427 #define THRUST_INCREMENT_ID 1
428 #endif
429 
430 #ifndef MAG_CALIB_UKF_ID
431 #define MAG_CALIB_UKF_ID 20
432 #endif
433 
434 /*
435  * UWB communication (message 19)
436 */
437 #ifndef UWB_COMM_ID
438 #define UWB_COMM_ID 1
439 #endif
440 
441 /*
442  * IDs of Obstacle detection systems
443  */
444 
445 #ifndef OBS_DETECTION_COLOR_ID
446 #define OBS_DETECTION_COLOR_ID 1
447 #endif
448 
449 #ifndef OBS_DETECTION_RANGE_ARRAY_ID
450 #define OBS_DETECTION_RANGE_ARRAY_ID 2
451 #endif
452 
453 #ifndef OBS_DETECTION_RANGE_ARRAY_NPS_ID
454 #define OBS_DETECTION_RANGE_ARRAY_NPS_ID 3
455 #endif
456 
457 #ifndef OBS_DETECTION_MULTI_RANGER_DECK_ID
458 #define OBS_DETECTION_MULTI_RANGER_DECK_ID 4
459 #endif
460 
461 /*
462  * ID's of forcefield generating type functions
463  */
464 
465 #ifndef RANGE_FORCEFIELD_ID
466 #define RANGE_FORCEFIELD_ID 1
467 #endif
468 
469 /*
470  * ID's for camera type sensors
471  */
472 
473 #ifndef CAM_JEVOIS_ID
474 #define CAM_JEVOIS_ID 1
475 #endif
476 
477 /*
478  * IDs of ACCEL_SP senders (message 21)
479  */
480 
481 #ifndef ACCEL_SP_FCR_ID
482 #define ACCEL_SP_FCR_ID 1 // Formation Control Rotorcraft
483 #endif
484 
485 /*
486  * RELATIVE_LOCALIZATION communication (message 24)
487 */
488 #ifndef RELATIVE_LOCALIZATION_ID
489 #define RELATIVE_LOCALIZATION_ID 1
490 #endif
491 
492 #ifndef DETECT_GATE_ABI_ID
493 #define DETECT_GATE_ABI_ID 33
494 #endif
495 
496 /*
497  * VISUAL_DETECTION communication (message 27)
498 */
499 #ifndef COLOR_OBJECT_DETECTION1_ID
500 #define COLOR_OBJECT_DETECTION1_ID 1
501 #endif
502 
503 #ifndef COLOR_OBJECT_DETECTION2_ID
504 #define COLOR_OBJECT_DETECTION2_ID 2
505 #endif
506 
507 /*
508  * JOYSTICK message (used for payload or control, but not as a RC)
509  */
510 #ifndef JOYSTICK_ID
511 #define JOYSTICK_ID 1
512 #endif
513 
514 #endif /* ABI_SENDER_IDS_H */