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