-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgps.proto
156 lines (144 loc) · 3.08 KB
/
gps.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
syntax = "proto3";
package gps;
message GGA {
uint64 _inner_timestamp = 1;
string time = 2;
double latitude = 3;
string north_south = 4;
double longitude = 5;
string east_ovest = 6;
uint64 fix = 7;
uint64 satellites = 8;
double horizontal_diluition_precision = 9;
double altitude = 10;
double age_of_correction = 11;
};
message VTG {
uint64 _inner_timestamp = 1;
double course_over_ground_degrees = 2;
double course_over_ground_degrees_magnetic = 3;
double speed_kmh = 4;
};
message GSA {
uint64 _inner_timestamp = 1;
string mode = 2;
double position_diluition_precision = 3;
double horizontal_diluition_precision = 4;
double vertical_diluition_precision = 5;
};
message NAV_DOP {
uint64 _inner_timestamp = 1;
uint64 iTOW = 2;
double gDOP = 3;
double pDOP = 4;
double tDOP = 5;
double vDOP = 6;
double hDOP = 7;
double nDOP = 8;
double eDOP = 9;
};
message NAV_PVT {
uint64 _inner_timestamp = 1;
uint32 iTOW = 2;
uint32 year = 3;
uint32 month = 4;
uint32 day = 5;
uint32 hour = 6;
uint32 min = 7;
uint32 sec = 8;
uint32 valid = 9;
uint32 tAcc = 10;
sint32 nano = 11;
uint32 fixType = 12;
uint32 flags = 13;
uint32 flags2 = 14;
uint32 numSV = 15;
double lon = 16;
double lat = 17;
double height = 18;
double hMSL = 19;
double hAcc = 20;
double vAcc = 21;
double velN = 22;
double velE = 23;
double velD = 24;
double gSpeed = 25;
double headMot = 26;
double sAcc = 27;
double headAcc = 28;
double pDOP = 29;
double headVeh = 30;
double magDec = 31;
double magAcc = 32;
};
message NAV_HPPOSECEF {
uint64 _inner_timestamp = 1;
uint32 version = 2;
uint32 iTOW = 3;
double ecefX = 4;
double ecefY = 5;
double ecefZ = 6;
int32 ecefXHp = 7;
int32 ecefYHp = 8;
int32 ecefZHp = 9;
double pAcc = 10;
};
message NAV_HPPOSLLH {
uint64 _inner_timestamp = 1;
uint32 version = 2;
uint32 iTOW = 3;
double lon = 4;
double lat = 5;
double height = 6;
double hMSL = 7;
int32 lonHp = 8;
int32 latHp = 9;
int32 heightHp = 10;
int32 hMSLHp = 11;
double hAcc = 12;
double vAcc = 13;
};
message NAV_RELPOSNED {
uint64 _inner_timestamp = 1;
uint32 version = 2;
uint32 refStationId = 3;
uint64 iTOW = 4;
double relPosN = 5;
double relPosE = 6;
double relPosD = 7;
double relPosLength = 8;
double relPosHeading = 9;
double relPosHPN = 10;
double relPosHPE = 11;
double relPosHPD = 12;
double relPosHPLength = 13;
double accN = 14;
double accE = 15;
double accD = 16;
double accLength = 17;
double accHeading = 18;
uint64 flags = 19;
};
message NAV_VELNED {
uint64 _inner_timestamp = 1;
uint32 iTOW = 2;
double velN = 3;
double velE = 4;
double velD = 5;
double speed = 6;
double gSpeed = 7;
double heading = 8;
double sAcc = 9;
double cAcc = 10;
}
message GpsPack {
repeated GGA gga = 1;
repeated VTG vtg = 2;
repeated GSA gsa = 3;
repeated NAV_DOP dop = 4;
repeated NAV_PVT pvt = 5;
repeated NAV_HPPOSECEF hpposecef = 6;
repeated NAV_HPPOSLLH hpposllh = 7;
repeated NAV_RELPOSNED relposned = 8;
repeated NAV_VELNED velned = 9;
}