You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
LOC_SOURCE_ENUM = {
|
|
0:"LOC_UNSET",
|
|
1:"LOC_MANUAL",
|
|
2:"LOC_INTERNAL",
|
|
3:"LOC_EXTERNAL"
|
|
}
|
|
|
|
ALT_SOURCE_ENUM = {
|
|
0:"ALT_UNSET",
|
|
1:"ALT_MANUAL",
|
|
2:"ALT_INTERNAL",
|
|
3:"ALT_EXTERNAL",
|
|
4:"ALT_BAROMETRIC"
|
|
}
|
|
|
|
POSITION_SCHEME = [
|
|
("sfixed32", "latitude_i", 1),
|
|
("sfixed32", "longitude_i", 2),
|
|
("int32", "altitude", 3),
|
|
("float32", "time", 4),
|
|
("int32", "location_source", 5),
|
|
("int32", "altitude_source", 6),
|
|
("fixed32", "timestamp", 7),
|
|
("int32", "timestamp_millis_adjust", 8),
|
|
("sint32", "altitude_hae", 9),
|
|
("sint32", "altitude_geoidal_separation", 10),
|
|
("uint32", "PDOP", 11),
|
|
("uint32", "HDOP", 12),
|
|
("uint32", "VDOP", 13),
|
|
("uint32", "gps_accuracy", 14),
|
|
("uint32", "ground_speed", 15),
|
|
("uint32", "ground_track", 16),
|
|
("uint32", "fix_quality", 17),
|
|
("uint32", "fix_type", 18),
|
|
("uint32", "sats_in_view", 19),
|
|
("uint32", "sensor_id", 20),
|
|
("uint32", "next_update", 21),
|
|
("uint32", "seq_number", 22),
|
|
("uint32", "precision_bits", 23)
|
|
]
|