mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
35 lines
1.2 KiB
Markdown
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.
|
|
```
|
|
|
|
:::
|