mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-25 20:28:26 +08:00
4.0 KiB
4.0 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
SensorMag (повідомлення UORB)
TOPICS: sensor_mag
Fields
Constants
| Назва | Тип | Значення | Опис |
|---|---|---|---|
| ORB_QUEUE_LENGTH | uint8 |
4 |
Source Message
:::details Click here to see original file
uint64 timestamp # time since system start (microseconds)
uint64 timestamp_sample
uint32 device_id # unique device ID for the sensor that does not change between power cycles
bool is_external # true if the sensor is not mounted on the flight controller board itself
float32 x # [Gauss] magnetic field in the FRD board frame X-axis
float32 y # [Gauss] magnetic field in the FRD board frame Y-axis
float32 z # [Gauss] magnetic field in the FRD board frame Z-axis
float32 temperature # [°C] Temperature.
float32 range # [Gauss] full-scale measurement range, 0 if unknown
uint32 error_count
uint8 ORB_QUEUE_LENGTH = 4
:::