# MSG_LOCAL_MAG_FIELD
MSG_LOCAL_MAG_FIELD | |||||
---|---|---|---|---|---|
Packet ID | 0x6E | ||||
Length | 24 | ||||
Read / Write | Read | ||||
Offset | Size | Format | Field | Unit | Description |
0 | 4 | float32_t | Local_magnetic_field_X | mG | 当地磁场的X轴磁感应强度 |
4 | 4 | float32_t | Local_magnetic_field_Y | mG | 当地磁场的Y轴磁感应强度 |
8 | 4 | float32_t | Local_magnetic_field_Z | mG | 当地磁场的Z轴磁感应强度 |
12 | 4 | float32_t | Local_magnetic_yaw | rad | 当地磁北角 |
16 | 4 | float32_t | Local_magnetic_inclination | rad | 当地磁倾角 |
20 | 4 | float32_t | Local_magnetic_declination | rad | 当地磁偏角 |