Paparazzi UAS  v7.0_unstable
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 #ifndef UAVCAN_SENDER_ID
96 #define UAVCAN_SENDER_ID 42
97 #endif
98 
99 /*
100  * IDs of airspeed sensors (message 14)
101  */
102 #ifndef AIRSPEED_NPS_ID
103 #define AIRSPEED_NPS_ID 1
104 #endif
105 
106 #ifndef AIRSPEED_ADC_ID
107 #define AIRSPEED_ADC_ID 2
108 #endif
109 
110 #ifndef AIRSPEED_SDP3X_ID
111 #define AIRSPEED_SDP3X_ID 3
112 #endif
113 
114 #ifndef AIRSPEED_ETS_ID
115 #define AIRSPEED_ETS_ID 4
116 #endif
117 
118 #ifndef AIRSPEED_WE_QUAD_ID
119 #define AIRSPEED_WE_QUAD_ID 5
120 #endif
121 
122 /*
123  * IDs of Incidence angles (message 24)
124  */
125 #ifndef AOA_ADC_ID
126 #define AOA_ADC_ID 1
127 #endif
128 
129 #ifndef AOA_PWM_ID
130 #define AOA_PWM_ID 2
131 #endif
132 
133 #ifndef INCIDENCE_NPS_ID
134 #define INCIDENCE_NPS_ID 20
135 #endif
136 
137 /*
138  * IDs of AGL measurment modules that can be loaded (sonars, lidars,...) (message 2)
139  */
140 #ifndef AGL_SONAR_ADC_ID
141 #define AGL_SONAR_ADC_ID 1
142 #endif
143 
144 #ifndef AGL_SONAR_ARDRONE2_ID
145 #define AGL_SONAR_ARDRONE2_ID 2
146 #endif
147 
148 #ifndef AGL_SONAR_NPS_ID
149 #define AGL_SONAR_NPS_ID 3
150 #endif
151 
152 #ifndef AGL_SONAR_PX4FLOW_ID
153 #define AGL_SONAR_PX4FLOW_ID 4
154 #endif
155 
156 #ifndef AGL_TERARANGER_ONE_ID
157 #define AGL_TERARANGER_ONE_ID 5
158 #endif
159 
160 #ifndef AGL_LIDAR_LITE_ID
161 #define AGL_LIDAR_LITE_ID 6
162 #endif
163 
164 #ifndef AGL_PX4FLOW_ID
165 #define AGL_PX4FLOW_ID 7
166 #endif
167 
168 #ifndef AGL_LIDAR_SF11_ID
169 #define AGL_LIDAR_SF11_ID 8
170 #endif
171 
172 #ifndef AGL_VL53L0_LASER_ARRAY_ID
173 #define AGL_VL53L0_LASER_ARRAY_ID 9
174 #endif
175 
176 #ifndef AGL_RAY_SENSOR_GAZEBO_ID
177 #define AGL_RAY_SENSOR_GAZEBO_ID 10
178 #endif
179 
180 #ifndef AGL_LIDAR_TFMINI_ID
181 #define AGL_LIDAR_TFMINI_ID 11
182 #endif
183 
184 #ifndef AGL_VL53L1X_ID
185 #define AGL_VL53L1X_ID 12
186 #endif
187 
188 #ifndef AGL_SONAR_PWM_ID
189 #define AGL_SONAR_PWM_ID 13
190 #endif
191 
192 #ifndef AGL_LIDAR_TFMINI_I2C_ID
193 #define AGL_LIDAR_TFMINI_I2C_ID 14
194 #endif
195 
196 #ifndef AGL_LIDAR_MATEKSYS_3901_L0X_ID
197 #define AGL_LIDAR_MATEKSYS_3901_L0X_ID 15
198 #endif
199 
200 #ifndef AGL_UAVCAN_ID
201 #define AGL_UAVCAN_ID 16
202 #endif
203 
204 /*
205  * IDs of magnetometer sensors (including IMUs with mag)
206  */
207 
208 #ifndef MAG_HMC58XX_SENDER_ID
209 #define MAG_HMC58XX_SENDER_ID 2
210 #endif
211 
212 #ifndef MAG_LIS3MDL_SENDER_ID
213 #define MAG_LIS3MDL_SENDER_ID 3
214 #endif
215 
216 #ifndef MAG_IST8310_SENDER_ID
217 #define MAG_IST8310_SENDER_ID 4
218 #endif
219 
220 #ifndef MAG_RM3100_SENDER_ID
221 #define MAG_RM3100_SENDER_ID 5
222 #endif
223 
224 #ifndef MAG_DATALINK_SENDER_ID
225 #define MAG_DATALINK_SENDER_ID 6
226 #endif
227 
228 #ifndef MAG_QMC5883L_SENDER_ID
229 #define MAG_QMC5883L_SENDER_ID 7
230 #endif
231 
232 #ifndef IMU_MAG_PITOT_ID
233 #define IMU_MAG_PITOT_ID 50
234 #endif
235 
236 /*
237  * IDs of GPS sensors (message 10)
238  */
239 #ifndef GPS_UBX_ID
240 #define GPS_UBX_ID 1
241 #endif
242 
243 #ifndef GPS_NMEA_ID
244 #define GPS_NMEA_ID 2
245 #endif
246 
247 #ifndef GPS_SIRF_ID
248 #define GPS_SIRF_ID 3
249 #endif
250 
251 #ifndef GPS_SKYTRAQ_ID
252 #define GPS_SKYTRAQ_ID 4
253 #endif
254 
255 #ifndef GPS_MTK_ID
256 #define GPS_MTK_ID 5
257 #endif
258 
259 #ifndef GPS_PIKSI_ID
260 #define GPS_PIKSI_ID 6
261 #endif
262 
263 #ifndef GPS_XSENS_ID
264 #define GPS_XSENS_ID 7
265 #endif
266 
267 #ifndef GPS_DATALINK_ID
268 #define GPS_DATALINK_ID 8
269 #endif
270 
271 #ifndef GPS_UDP_ID
272 #define GPS_UDP_ID 9
273 #endif
274 
275 #ifndef GPS_ARDRONE2_ID
276 #define GPS_ARDRONE2_ID 10
277 #endif
278 
279 #ifndef GPS_SIM_ID
280 #define GPS_SIM_ID 11
281 #endif
282 
283 #ifndef GPS_MULTI_ID
284 #define GPS_MULTI_ID 12
285 #endif
286 
287 #ifndef GPS_VECTORNAV_ID
288 #define GPS_VECTORNAV_ID 13
289 #endif
290 
291 #ifndef GPS_IMCU_ID
292 #define GPS_IMCU_ID 14
293 #endif
294 
295 #ifndef GPS_DW1000_ID
296 #define GPS_DW1000_ID 15
297 #endif
298 
299 #ifndef GPS_UBX2_ID
300 #define GPS_UBX2_ID 16
301 #endif
302 
303 /*
304  * IDs of IMU sensors (accel, gyro)
305  */
306 #ifndef IMU_BOARD_ID
307 #define IMU_BOARD_ID 1
308 #endif
309 
310 #ifndef IMU_ANALOG_ID
311 #define IMU_ANALOG_ID 2
312 #endif
313 
314 #ifndef IMU_ASPIRIN_ID
315 #define IMU_ASPIRIN_ID 3
316 #endif
317 
318 #ifndef IMU_ASPIRIN2_ID
319 #define IMU_ASPIRIN2_ID 4
320 #endif
321 
322 #ifndef IMU_B2_ID
323 #define IMU_B2_ID 5
324 #endif
325 
326 #ifndef IMU_CRISTA_ID
327 #define IMU_CRISTA_ID 6
328 #endif
329 
330 #ifndef IMU_DROTEK_ID
331 #define IMU_DROTEK_ID 7
332 #endif
333 
334 #ifndef IMU_GL1_ID
335 #define IMU_GL1_ID 8
336 #endif
337 
338 #ifndef IMU_MPU6000_ID
339 #define IMU_MPU6000_ID 9
340 #endif
341 
342 #ifndef IMU_MPU6000_HMC_ID
343 #define IMU_MPU6000_HMC_ID 10
344 #endif
345 
346 #ifndef IMU_MPU9250_ID
347 #define IMU_MPU9250_ID 11
348 #endif
349 
350 #ifndef IMU_PPZUAV_ID
351 #define IMU_PPZUAV_ID 12
352 #endif
353 
354 #ifndef IMU_UM6_ID
355 #define IMU_UM6_ID 13
356 #endif
357 
358 #ifndef IMU_GX3_ID
359 #define IMU_GX3_ID 14
360 #endif
361 
362 #ifndef IMU_XSENS_ID
363 #define IMU_XSENS_ID 15
364 #endif
365 
366 #ifndef IMU_MPU60X0_ID
367 #define IMU_MPU60X0_ID 16
368 #endif
369 
370 #ifndef IMU_PX4_ID
371 #define IMU_PX4_ID 17
372 #endif
373 
374 #ifndef IMU_VECTORNAV_ID
375 #define IMU_VECTORNAV_ID 18
376 #endif
377 
378 #ifndef IMU_BMI088_ID
379 #define IMU_BMI088_ID 19
380 #endif
381 
382 #ifndef IMU_CUBE1_ID
383 #define IMU_CUBE1_ID 20
384 #endif
385 
386 #ifndef IMU_CUBE2_ID
387 #define IMU_CUBE2_ID 21
388 #endif
389 
390 #ifndef IMU_CUBE3_ID
391 #define IMU_CUBE3_ID 22
392 #endif
393 
394 #ifndef IMU_NPS_ID
395 #define IMU_NPS_ID 23
396 #endif
397 
398 #ifndef IMU_ICM42688_ID
399 #define IMU_ICM42688_ID 24
400 #endif
401 
402 #ifndef IMU_PIXHAWK1_ID
403 #define IMU_PIXHAWK1_ID 25
404 #endif
405 
406 #ifndef IMU_PIXHAWK2_ID
407 #define IMU_PIXHAWK2_ID 26
408 #endif
409 
410 #ifndef IMU_PIXHAWK3_ID
411 #define IMU_PIXHAWK3_ID 27
412 #endif
413 
414 // prefiltering with OneEuro filter
415 #ifndef IMU_F1E_ID
416 #define IMU_F1E_ID 30
417 #endif
418 
419 /*
420  * ID for AHRS aligner
421  */
422 #ifndef AHRS_ALIGNER_ID
423 #define AHRS_ALIGNER_ID 1
424 #endif
425 
426 /*
427  * IDs of OPTICFLOW estimates (message 11)
428  */
429 #ifndef FLOW_OPTICFLOW_ID
430 #define FLOW_OPTICFLOW_ID 1
431 #endif
432 
433 #ifndef FLOW_OPTICFLOW_CAM1_ID
434 #define FLOW_OPTICFLOW_CAM1_ID 1
435 #endif
436 
437 #ifndef FLOW_OPTICFLOW_CAM2_ID
438 #define FLOW_OPTICFLOW_CAM2_ID 2
439 #endif
440 
441 #ifndef FLOW_OPTICFLOW_PMW3901_ID
442 #define FLOW_OPTICFLOW_PMW3901_ID 3
443 #endif
444 
445 #ifndef FLOW_OPTICFLOW_MATEKSYS_3901_L0X_ID
446 #define FLOW_OPTICFLOW_MATEKSYS_3901_L0X_ID 4
447 #endif
448 
449 /*
450  * IDs of VELOCITY estimates (message 12)
451  */
452 #ifndef VEL_DRAGSPEED_ID
453 #define VEL_DRAGSPEED_ID 1
454 #endif
455 
456 #ifndef VEL_PX4FLOW_ID
457 #define VEL_PX4FLOW_ID 2
458 #endif
459 
460 #ifndef VEL_OPTICFLOW_ID
461 #define VEL_OPTICFLOW_ID 3
462 #endif
463 
464 #ifndef VEL_OPTICFLOW_CAM1_ID
465 #define VEL_OPTICFLOW_CAM1_ID 3
466 #endif
467 
468 #ifndef VEL_OPTICFLOW_CAM2_ID
469 #define VEL_OPTICFLOW_CAM2_ID 4
470 #endif
471 
472 #ifndef VEL_STEREOCAM_ID
473 #define VEL_STEREOCAM_ID 5
474 #endif
475 
476 #ifndef VEL_OPTICFLOW_PMW3901_ID
477 #define VEL_OPTICFLOW_PMW3901_ID 6
478 #endif
479 
480 /*
481  * IDs of RSSI measurements (message 13)
482  */
483 #ifndef RSSI_BLUEGIGA_ID
484 #define RSSI_BLUEGIGA_ID 1
485 #endif
486 
487 /*
488  * IDs of ACT_FEEDBACK sensors (message 15)
489  */
490 #ifndef ACT_FEEDBACK_BOARD_ID
491 #define ACT_FEEDBACK_BOARD_ID 1
492 #endif
493 
494 #ifndef ACT_FEEDBACK_DSHOT_ID
495 #define ACT_FEEDBACK_DSHOT_ID 2
496 #endif
497 
498 #ifndef ACT_FEEDBACK_UAVCAN_ID
499 #define ACT_FEEDBACK_UAVCAN_ID 3
500 #endif
501 
502 #ifndef ACT_FEEDBACK_RPM_SENSOR_ID
503 #define ACT_FEEDBACK_RPM_SENSOR_ID 4
504 #endif
505 
506 #ifndef ACT_FEEDBACK_FAULHABER_ID
507 #define ACT_FEEDBACK_FAULHABER_ID 5
508 #endif
509 
510 /*
511  * IDs of THRUST increment calculation (message 16)
512  */
513 #ifndef THRUST_INCREMENT_ID
514 #define THRUST_INCREMENT_ID 1
515 #endif
516 
517 #ifndef MAG_CALIB_UKF_ID
518 #define MAG_CALIB_UKF_ID 20
519 #endif
520 
521 /*
522  * UWB communication (message 19)
523 */
524 #ifndef UWB_COMM_ID
525 #define UWB_COMM_ID 1
526 #endif
527 
528 /*
529  * IDs of Obstacle detection systems
530  */
531 
532 #ifndef OBS_DETECTION_COLOR_ID
533 #define OBS_DETECTION_COLOR_ID 1
534 #endif
535 
536 #ifndef OBS_DETECTION_RANGE_ARRAY_ID
537 #define OBS_DETECTION_RANGE_ARRAY_ID 2
538 #endif
539 
540 #ifndef OBS_DETECTION_RANGE_ARRAY_NPS_ID
541 #define OBS_DETECTION_RANGE_ARRAY_NPS_ID 3
542 #endif
543 
544 #ifndef OBS_DETECTION_MULTI_RANGER_DECK_ID
545 #define OBS_DETECTION_MULTI_RANGER_DECK_ID 4
546 #endif
547 
548 /*
549  * ID's of forcefield generating type functions
550  */
551 
552 #ifndef RANGE_FORCEFIELD_ID
553 #define RANGE_FORCEFIELD_ID 1
554 #endif
555 
556 /*
557  * ID's for camera type sensors
558  */
559 
560 #ifndef CAM_JEVOIS_ID
561 #define CAM_JEVOIS_ID 1
562 #endif
563 
564 /*
565  * IDs of ACCEL_SP senders (message 21)
566  */
567 
568 #ifndef ACCEL_SP_FCR_ID
569 #define ACCEL_SP_FCR_ID 1 // Formation Control Rotorcraft
570 #endif
571 
572 /*
573  * RELATIVE_LOCALIZATION communication (message 24)
574 */
575 #ifndef RELATIVE_LOCALIZATION_ID
576 #define RELATIVE_LOCALIZATION_ID 1
577 #endif
578 
579 #ifndef DETECT_GATE_ABI_ID
580 #define DETECT_GATE_ABI_ID 33
581 #endif
582 
583 /*
584  * VISUAL_DETECTION communication (message 27)
585 */
586 #ifndef COLOR_OBJECT_DETECTION1_ID
587 #define COLOR_OBJECT_DETECTION1_ID 1
588 #endif
589 
590 #ifndef COLOR_OBJECT_DETECTION2_ID
591 #define COLOR_OBJECT_DETECTION2_ID 2
592 #endif
593 
594 /*
595  * JOYSTICK message (used for payload or control, but not as a RC)
596  */
597 #ifndef JOYSTICK_ID
598 #define JOYSTICK_ID 1
599 #endif
600 
601 /*
602  * PAYLOAD_DATA
603  */
604 #ifndef LWC_SIM_ID
605 #define LWC_SIM_ID 1
606 #endif
607 
608 #ifndef CLOUD_SENSOR_ID
609 #define CLOUD_SENSOR_ID 1
610 #endif
611 
612 /*
613  * RADIO_CONTROL message
614  */
615 #ifndef RADIO_CONTROL_PPM_ID
616 #define RADIO_CONTROL_PPM_ID 1
617 #endif
618 
619 #ifndef RADIO_CONTROL_SBUS_ID
620 #define RADIO_CONTROL_SBUS_ID 2
621 #endif
622 
623 #ifndef RADIO_CONTROL_SBUS_DUAL_ID
624 #define RADIO_CONTROL_SBUS_DUAL_ID 3
625 #endif
626 
627 #ifndef RADIO_CONTROL_SPEKTRUM_ID
628 #define RADIO_CONTROL_SPEKTRUM_ID 4
629 #endif
630 
631 #ifndef RADIO_CONTROL_SUPERBITRF_RC_ID
632 #define RADIO_CONTROL_SUPERBITRF_RC_ID 5
633 #endif
634 
635 #ifndef RADIO_CONTROL_HOTT_ID
636 #define RADIO_CONTROL_HOTT_ID 6
637 #endif
638 
639 #ifndef RADIO_CONTROL_DATALINK_ID
640 #define RADIO_CONTROL_DATALINK_ID 7
641 #endif
642 
643 #ifndef RADIO_CONTROL_FRSKY_ID
644 #define RADIO_CONTROL_FRSKY_ID 8
645 #endif
646 
647 #ifndef RADIO_CONTROL_INTERMCU_ID
648 #define RADIO_CONTROL_INTERMCU_ID 9
649 #endif
650 
651 /*
652  * IDs of VEL_SP senders
653  */
654 
655 #ifndef VEL_SP_FCR_ID
656 #define VEL_SP_FCR_ID 1 // Approach Moving Target
657 #endif
658 
659 
660 /*
661  * IDs of LIDAR_DATA senders
662  */
663 #ifndef LIDAR_DATA_VL53L5CX_ID
664 #define LIDAR_DATA_VL53L5CX_ID 1
665 #endif
666 
667 
668 #endif /* ABI_SENDER_IDS_H */