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