23 #ifndef LIBSBP_MAG_MESSAGES_H
24 #define LIBSBP_MAG_MESSAGES_H
35 #define SBP_MSG_MAG_RAW 0x0902
36 typedef struct SBP_ATTR_PACKED {
u8 tow_f
Milliseconds since start of GPS week, fractional part [ms / 256].
s16 mag_z
Magnetic field in the body frame Z axis [microteslas].
int16_t s16
Signed 16-bit integer.
uint8_t u8
Unsigned 8-bit integer.
s16 mag_y
Magnetic field in the body frame Y axis [microteslas].
uint32_t u32
Unsigned 32-bit integer.
u32 tow
Milliseconds since start of GPS week.
s16 mag_x
Magnetic field in the body frame X axis [microteslas].