libsbp  v2.4.7
orientation.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/orientation.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
23 #ifndef LIBSBP_ORIENTATION_MESSAGES_H
24 #define LIBSBP_ORIENTATION_MESSAGES_H
25 
26 #include "common.h"
27 
28 SBP_PACK_START
29 
30 
38 #define SBP_MSG_BASELINE_HEADING 0x020F
39 typedef struct SBP_ATTR_PACKED {
40  u32 tow;
45 
46 
55 #define SBP_MSG_ORIENT_QUAT 0x0220
56 typedef struct SBP_ATTR_PACKED {
57  u32 tow;
58  s32 w;
59  s32 x;
60  s32 y;
61  s32 z;
62  float w_accuracy;
63  float x_accuracy;
64  float y_accuracy;
65  float z_accuracy;
68 
69 
78 #define SBP_MSG_ORIENT_EULER 0x0221
79 typedef struct SBP_ATTR_PACKED {
80  u32 tow;
83  s32 yaw;
84  float roll_accuracy;
86  float yaw_accuracy;
89 
90 
103 #define SBP_MSG_ANGULAR_RATE 0x0222
104 typedef struct SBP_ATTR_PACKED {
106  s32 x;
107  s32 y;
108  s32 z;
111 
112 
115 SBP_PACK_END
116 
117 #endif /* LIBSBP_ORIENTATION_MESSAGES_H */
s32 w
Real component [2^-31].
Definition: orientation.h:58
s32 pitch
rotation about the rightward axis of the vehicle [microdegrees]
Definition: orientation.h:82
s32 z
3rd imaginary component [2^-31]
Definition: orientation.h:61
u32 tow
GPS Time of Week [ms].
Definition: orientation.h:105
float pitch_accuracy
Estimated standard deviation of pitch [degrees].
Definition: orientation.h:85
float y_accuracy
Estimated standard deviation of y [N/A].
Definition: orientation.h:64
float z_accuracy
Estimated standard deviation of z [N/A].
Definition: orientation.h:65
s32 y
angular rate about y axis [microdegrees/s]
Definition: orientation.h:107
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
float yaw_accuracy
Estimated standard deviation of yaw [degrees].
Definition: orientation.h:86
u32 tow
GPS Time of Week [ms].
Definition: orientation.h:40
u8 flags
Status flags.
Definition: orientation.h:109
s32 z
angular rate about z axis [microdegrees/s]
Definition: orientation.h:108
u8 flags
Status flags.
Definition: orientation.h:66
u8 flags
Status flags.
Definition: orientation.h:43
u32 tow
GPS Time of Week [ms].
Definition: orientation.h:80
u8 flags
Status flags.
Definition: orientation.h:87
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:44
u32 heading
Heading [mdeg].
Definition: orientation.h:41
float x_accuracy
Estimated standard deviation of x [N/A].
Definition: orientation.h:63
float w_accuracy
Estimated standard deviation of w [N/A].
Definition: orientation.h:62
u8 n_sats
Number of satellites used in solution.
Definition: orientation.h:42
s32 roll
rotation about the forward axis of the vehicle [microdegrees]
Definition: orientation.h:81
s32 y
2nd imaginary component [2^-31]
Definition: orientation.h:60
u32 tow
GPS Time of Week [ms].
Definition: orientation.h:57
int32_t s32
Signed 32-bit integer.
Definition: common.h:36
s32 x
1st imaginary component [2^-31]
Definition: orientation.h:59
s32 x
angular rate about x axis [microdegrees/s]
Definition: orientation.h:106
s32 yaw
rotation about the downward axis of the vehicle [microdegrees]
Definition: orientation.h:83
float roll_accuracy
Estimated standard deviation of roll [degrees].
Definition: orientation.h:84