mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 16:46:09 +08:00
msg: create uORB topic for sensor selection data
This commit is contained in:
committed by
Lorenz Meier
parent
8ea0b2d3c5
commit
3d3e04cb48
@@ -90,6 +90,7 @@ set(msg_file_names
|
|||||||
sensor_baro.msg
|
sensor_baro.msg
|
||||||
sensor_combined.msg
|
sensor_combined.msg
|
||||||
sensor_correction.msg
|
sensor_correction.msg
|
||||||
|
sensor_selection.msg
|
||||||
sensor_gyro.msg
|
sensor_gyro.msg
|
||||||
sensor_mag.msg
|
sensor_mag.msg
|
||||||
sensor_preflight.msg
|
sensor_preflight.msg
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
#
|
||||||
|
# Sensor ID's for the voted sensors output on the sensor_combined topic.
|
||||||
|
# Will be updated on startup of the sensor module and when sensor selection changes
|
||||||
|
#
|
||||||
|
|
||||||
|
uint32 accel_device_id # unique device ID for the selected accelerometers
|
||||||
|
uint32 baro_device_id # unique device ID for the selected barometer
|
||||||
|
uint32 gyro_device_id # unique device ID for the selected rate gyros
|
||||||
|
uint32 mag_device_id # unique device ID for the selected magnetometer
|
||||||
Reference in New Issue
Block a user