PX4-Autopilot/docs/ko/msg_docs/SensorMag.md
PX4 Build Bot 94c3765712
New Crowdin translations - ko (#26551)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-03-05 14:01:52 +11:00

53 lines
3.1 KiB
Markdown

---
pageClass: is-wide-page
---
# SensorMag (UORB message)
**TOPICS:** sensor_mag
## Fields
| 명칭 | 형식 | Unit [Frame] | Range/Enum | 설명 |
| ------------------------------------- | --------- | ---------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------- |
| timestamp | `uint64` | | | time since system start (microseconds) |
| timestamp_sample | `uint64` | | | |
| device_id | `uint32` | | | unique device ID for the sensor that does not change between power cycles |
| x | `float32` | | | magnetic field in the FRD board frame X-axis in Gauss |
| y | `float32` | | | magnetic field in the FRD board frame Y-axis in Gauss |
| z | `float32` | | | magnetic field in the FRD board frame Z-axis in Gauss |
| temperature | `float32` | | | temperature in degrees Celsius |
| error_count | `uint32` | | | |
## Constants
| 명칭 | 형식 | Value | 설명 |
| ----------------------------------------------------------------------------------------- | ------- | ----- | -- |
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 4 | |
## Source Message
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SensorMag.msg)
:::details
Click here to see original file
```c
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
float32 x # magnetic field in the FRD board frame X-axis in Gauss
float32 y # magnetic field in the FRD board frame Y-axis in Gauss
float32 z # magnetic field in the FRD board frame Z-axis in Gauss
float32 temperature # temperature in degrees Celsius
uint32 error_count
uint8 ORB_QUEUE_LENGTH = 4
```
:::