PX4-Autopilot/docs/en/msg_docs/SensorPreflightMag.md
PX4BuildBot 4880bd5d8c docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-02-21 06:53:04 +00:00

35 lines
1.2 KiB
Markdown

---
pageClass: is-wide-page
---
# SensorPreflightMag (UORB message)
Pre-flight sensor check metrics. The topic will not be updated when the vehicle is armed.
**TOPICS:** sensor_preflight_mag
## Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
| ----------------------- | --------- | ------------ | ---------- | --------------------------------------------------------------------- |
| timestamp | `uint64` | | | time since system start (microseconds) |
| mag_inconsistency_angle | `float32` | | | maximum angle between magnetometer instance field vectors in radians. |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SensorPreflightMag.msg)
::: details Click here to see original file
```c
#
# Pre-flight sensor check metrics.
# The topic will not be updated when the vehicle is armed
#
uint64 timestamp # time since system start (microseconds)
float32 mag_inconsistency_angle # maximum angle between magnetometer instance field vectors in radians.
```
:::