mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 22:29:06 +08:00
50 lines
3.0 KiB
Markdown
50 lines
3.0 KiB
Markdown
---
|
||
pageClass: is-wide-page
|
||
---
|
||
|
||
# SensorsStatus (повідомлення UORB)
|
||
|
||
Метрики перевірки датчика. Це значення буде нульовим для датчика, який є первинним або незаповненим.
|
||
|
||
**TOPICS:** sensors_status_baro sensors_status_mag
|
||
|
||
## Fields
|
||
|
||
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
|
||
| ----------------------------------------------------------- | ------------ | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------- |
|
||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||
| device_id_primary | `uint32` | | | current primary device id for reference |
|
||
| device_ids | `uint32[4]` | | | |
|
||
| inconsistency | `float32[4]` | | | magnitude of difference between sensor instance and mean |
|
||
| healthy | `bool[4]` | | | sensor healthy |
|
||
| priority | `uint8[4]` | | | |
|
||
| enabled | `bool[4]` | | | |
|
||
| external | `bool[4]` | | | |
|
||
|
||
## Source Message
|
||
|
||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SensorsStatus.msg)
|
||
|
||
:::details
|
||
Click here to see original file
|
||
|
||
```c
|
||
#
|
||
# Sensor check metrics. This will be zero for a sensor that's primary or unpopulated.
|
||
#
|
||
uint64 timestamp # time since system start (microseconds)
|
||
|
||
uint32 device_id_primary # current primary device id for reference
|
||
|
||
uint32[4] device_ids
|
||
float32[4] inconsistency # magnitude of difference between sensor instance and mean
|
||
bool[4] healthy # sensor healthy
|
||
uint8[4] priority
|
||
bool[4] enabled
|
||
bool[4] external
|
||
|
||
# TOPICS sensors_status_baro sensors_status_mag
|
||
```
|
||
|
||
:::
|