libsbp  v2.4.7
gnss.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/gnss.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
23 #ifndef LIBSBP_GNSS_MESSAGES_H
24 #define LIBSBP_GNSS_MESSAGES_H
25 
26 #include "common.h"
27 
28 SBP_PACK_START
29 
30 
35 typedef struct SBP_ATTR_PACKED {
36  u8 sat;
40  u8 code;
42 
43 
48 typedef struct SBP_ATTR_PACKED {
49  u16 sat;
54  u8 code;
57 
58 
65 typedef struct SBP_ATTR_PACKED {
66  u32 tow;
67  u16 wn;
69 
70 
77 typedef struct SBP_ATTR_PACKED {
78  u32 tow;
79  u16 wn;
81 
82 
90 typedef struct SBP_ATTR_PACKED {
91  u32 tow;
95  u16 wn;
97 
98 
106 typedef struct SBP_ATTR_PACKED {
107  s32 i;
108  u8 f;
110 
111 
114 SBP_PACK_END
115 
116 #endif /* LIBSBP_GNSS_MESSAGES_H */
u8 f
Carrier phase fractional part [cycles / 256].
Definition: gnss.h:108
Millisecond-accurate GPS time.
Definition: gnss.h:65
GNSS carrier phase measurement.
Definition: gnss.h:106
u16 wn
GPS week number [week].
Definition: gnss.h:79
u32 tow
Milliseconds since start of GPS week [ms].
Definition: gnss.h:91
Whole second accurate GPS time.
Definition: gnss.h:77
Represents all the relevant information about the signal.
Definition: gnss.h:35
s32 i
Carrier phase whole cycles [cycles].
Definition: gnss.h:107
u8 reserved
Reserved.
Definition: gnss.h:55
u32 tow
Seconds since start of GPS week [s].
Definition: gnss.h:78
Deprecated.
Definition: gnss.h:48
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
s32 ns_residual
Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to 500000) [ns].
Definition: gnss.h:92
u16 wn
GPS week number [week].
Definition: gnss.h:67
u8 sat
Constellation-specific satellite identifier.
Definition: gnss.h:36
uint16_t u16
Unsigned 16-bit integer.
Definition: common.h:42
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:44
u16 wn
GPS week number [week].
Definition: gnss.h:95
Nanosecond-accurate receiver clock time.
Definition: gnss.h:90
u32 tow
Milliseconds since start of GPS week [ms].
Definition: gnss.h:66
u8 code
Signal constellation, band and code.
Definition: gnss.h:54
u8 code
Signal constellation, band and code.
Definition: gnss.h:40
u16 sat
Constellation-specific satellite identifier.
Definition: gnss.h:49
int32_t s32
Signed 32-bit integer.
Definition: common.h:36