-
Notifications
You must be signed in to change notification settings - Fork 53
/
navmon.proto
249 lines (212 loc) · 6.08 KB
/
navmon.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
syntax = "proto2";
message NavMonMessage {
enum Type {
ReceptionDataType = 1;
ObserverPositionType = 2;
GalileoInavType = 3;
RFDataType = 4;
GPSInavType = 5;
BeidouInavTypeD1 = 6;
GlonassInavType = 7;
BeidouInavTypeD2 = 8;
SARResponseType = 9;
DebuggingType = 10;
ObserverDetailsType = 11;
UbloxJammingStatsType = 12;
SBASMessageType = 13;
GPSCnavType = 14;
RTCMMessageType = 15;
TimeOffsetType = 16;
GalileoFnavType = 17;
GalileoCnavType = 18;
}
required uint64 sourceID = 1;
required Type type = 2;
required uint64 localUtcSeconds = 3;
required uint64 localUtcNanoseconds = 4;
message GalileoInav {
required uint32 gnssWN =1;
required uint32 gnssTOW =2; // INTEGERS!
required uint32 gnssID =3;
required uint32 gnssSV =4;
required bytes contents =5;
optional uint32 sigid = 6;
optional bytes reserved1 = 7;
optional bytes reserved2 = 8;
optional bytes sar = 9;
optional bytes spare = 10;
optional bytes crc = 11;
optional uint32 ssp = 12;
}
message GalileoFnav {
required uint32 gnssWN =1;
required uint32 gnssTOW =2; // INTEGERS!
required uint32 gnssID =3;
required uint32 gnssSV =4;
required bytes contents =5;
required uint32 sigid = 6;
}
message GalileoCnav {
required uint32 gnssWN =1;
required uint32 gnssTOW =2; // INTEGERS!
required uint32 gnssID =3;
required uint32 gnssSV =4;
required bytes contents =5;
required uint32 sigid = 6;
}
message GPSInav {
required uint32 gnssWN =1;
required uint32 gnssTOW =2; // INTEGERS!
required uint32 gnssID =3;
required uint32 gnssSV =4;
required bytes contents =5;
optional uint32 sigid = 6;
}
message BeidouInavD1 {
required uint32 gnssWN =1;
required uint32 gnssTOW =2; // INTEGERS!
required uint32 gnssID =3;
required uint32 gnssSV =4;
required bytes contents =5;
optional uint32 sigid = 6;
}
message BeidouInavD2 {
required uint32 gnssWN =1;
required uint32 gnssTOW =2; // INTEGERS!
required uint32 gnssID =3;
required uint32 gnssSV =4;
required bytes contents =5;
optional uint32 sigid = 6;
}
message GlonassInav {
required uint32 gnssID = 1;
required uint32 gnssSV = 2;
required uint32 freq = 3;
required bytes contents = 4;
optional uint32 sigid = 5;
}
message ReceptionData {
required uint32 gnssID =1;
required uint32 gnssSV =2;
optional uint32 sigid = 7;
required uint32 db =3;
required uint32 el =4;
required uint32 azi =5;
required double prRes =6;
optional uint32 qi = 8;
optional bool used = 9;
}
message RFData {
required double rcvTow = 1;
required uint32 rcvWn = 2;
required uint32 gnssID =3;
required uint32 gnssSV =4;
required double doppler =5;
required double carrierphase = 6;
required double pseudorange = 7;
required double locktimeMS = 8;
required double doStd = 9;
required double cpStd = 10;
required double prStd = 11;
optional uint32 sigid = 12;
optional uint32 cno = 13;
optional bool prvalid = 14;
optional bool cpvalid = 15;
optional bool halfcycvalid =16;
optional bool subhalfcyc = 17;
optional bool clkReset = 18;
}
message ObserverPosition {
required double x = 1;
required double y = 2;
required double z = 3;
required double acc = 4;
optional double groundSpeed = 5;
}
message SARResponse {
required uint32 gnssID =1;
required uint32 gnssSV =2;
required uint32 sigid =3;
required uint32 type =4;
required bytes identifier = 5;
required uint32 code= 6;
required bytes params =7;
}
message DebuggingMessage {
required uint32 type = 1;
required bytes payload = 2;
}
message ObserverDetails {
required string vendor = 1;
required string hwversion = 2;
required string modules = 3;
required string swversion = 4;
required string serialno = 5;
optional double clockOffsetNS = 6;
optional double clockOffsetDriftNS = 7;
optional double clockAccuracyNS = 8;
optional double freqAccuracyPS = 9;
optional string owner = 10;
optional string remark = 11;
optional string recvgithash = 12;
optional uint32 uptime = 13;
}
message UbloxJammingStats
{
required uint32 noisePerMS = 1;
required uint32 agcCnt = 2;
required uint32 flags = 3;
required uint32 jamInd = 4;
}
message SBASMessage {
required uint32 gnssID = 1;
required uint32 gnssSV = 2;
required bytes contents = 3;
}
message GPSCnav {
required uint32 gnssWN =1;
required uint32 gnssTOW =2; // INTEGERS!
required uint32 gnssID =3;
required uint32 gnssSV =4;
required bytes contents =5;
required uint32 sigid = 6;
}
message RTCMMessage {
required bytes contents =5;
}
message GNSSOffset
{
required uint32 gnssid = 1;
required int32 offsetNS = 2;
required uint32 tAcc = 3;
required bool valid = 4;
optional int32 leapS = 5;
required uint32 tow = 6;
optional uint32 wn = 7;
optional uint32 nT = 8;
optional uint32 n4 = 9;
}
message TimeOffsetMessage
{
required uint32 itow = 1;
repeated GNSSOffset offsets = 2;
}
optional GalileoInav gi=5;
optional ReceptionData rd=6;
optional RFData rfd=7;
optional ObserverPosition op=8;
optional GPSInav gpsi=9;
optional BeidouInavD1 bid1=10;
optional BeidouInavD2 bid2=11;
optional GlonassInav gloi=12;
optional SARResponse sr=13;
optional DebuggingMessage dm = 14;
optional ObserverDetails od = 15;
optional UbloxJammingStats ujs = 16;
optional SBASMessage sbm = 17;
optional GPSCnav gpsc = 18;
optional RTCMMessage rm = 19;
optional TimeOffsetMessage to = 20;
optional GalileoFnav gf=21;
optional GalileoCnav gc=22;
}