libsbp  v2.4.7
mag.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Swift Navigation Inc.
3  * Contact: Swift Navigation <dev@swiftnav.com>
4  *
5  * This source is subject to the license found in the file 'LICENSE' which must
6  * be be distributed together with this source. All other rights reserved.
7  *
8  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11  */
12 
13 /*****************************************************************************
14  * Automatically generated from yaml/swiftnav/sbp/mag.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
23 #ifndef LIBSBP_MAG_MESSAGES_H
24 #define LIBSBP_MAG_MESSAGES_H
25 
26 #include "common.h"
27 
28 SBP_PACK_START
29 
30 
35 #define SBP_MSG_MAG_RAW 0x0902
36 typedef struct SBP_ATTR_PACKED {
37  u32 tow;
46 
47 
50 SBP_PACK_END
51 
52 #endif /* LIBSBP_MAG_MESSAGES_H */
u8 tow_f
Milliseconds since start of GPS week, fractional part [ms / 256].
Definition: mag.h:40
s16 mag_z
Magnetic field in the body frame Z axis [microteslas].
Definition: mag.h:44
int16_t s16
Signed 16-bit integer.
Definition: common.h:34
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
s16 mag_y
Magnetic field in the body frame Y axis [microteslas].
Definition: mag.h:43
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:44
u32 tow
Milliseconds since start of GPS week.
Definition: mag.h:37
s16 mag_x
Magnetic field in the body frame X axis [microteslas].
Definition: mag.h:42