blob: bc57f1434bb0c6dc80000f2f32709ec787561657 (
plain)
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
|
syntax = "proto2";
package ltpb;
message GPSData {
optional double latitude = 1;
optional double longitude = 2;
optional uint64 timestamp = 3;
optional double dop = 4;
optional Track track = 5;
message Track {
required double value = 1;
required ReferenceNorth ref = 2;
}
optional Heading heading = 6;
message Heading {
required double value = 1;
required ReferenceNorth ref = 2;
}
optional Altitude altitude = 7;
message Altitude {
required double value = 1;
required ReferenceAltitude ref = 2;
}
optional double speed = 8;
optional ProcessingMethod processing_method = 9;
enum ProcessingMethod {
PROCESSING_METHOD_UNKNOWN = 0;
PROCESSING_METHOD_GPS = 1;
PROCESSING_METHOD_CELLID = 2;
PROCESSING_METHOD_WLAN = 3;
PROCESSING_METHOD_MANUAL = 4;
PROCESSING_METHOD_FUSED = 5;
}
enum ReferenceNorth {
REFERENCE_NORTH_MAGNETIC = 0;
REFERENCE_NORTH_TRUE = 1;
}
enum ReferenceAltitude {
REFERENCE_ALTITUDE_SEA_LEVEL = 0;
}
}
|