Files
PX4-Autopilot/docs/en/msg_docs/SensorSelection.md
PX4BuildBot be784e21f7 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-27 02:57:43 +00:00

36 lines
1.5 KiB
Markdown

---
pageClass: is-wide-page
---
# SensorSelection (UORB message)
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.
**TOPICS:** sensor_selection
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| ----------------------------------------------- | -------- | ------------ | ---------- | ------------------------------------------------ |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
| <a id="fld_accel_device_id"></a>accel_device_id | `uint32` | | | unique device ID for the selected accelerometers |
| <a id="fld_gyro_device_id"></a>gyro_device_id | `uint32` | | | unique device ID for the selected rate gyros |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SensorSelection.msg)
::: details Click here to see original file
```c
#
# 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
#
uint64 timestamp # time since system start (microseconds)
uint32 accel_device_id # unique device ID for the selected accelerometers
uint32 gyro_device_id # unique device ID for the selected rate gyros
```
:::