mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-12 23:43:44 +08:00
ab81464bd1
Add navigation and map matching providers with the vendored map service sources. Co-authored-by: Daniel Koepping <elkoled@gmail.com> Co-authored-by: Danny <dannyirwin31@yahoo.com> Co-authored-by: Prabhaav Pillai <prabhaav@msu.edu> Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
29 lines
687 B
Cap'n Proto
29 lines
687 B
Cap'n Proto
@0xd78cc18827d186a2;
|
|
struct LegacyNavigation @0xded8e3c832d746a2 {
|
|
sessionId @0 :Text;
|
|
frameMonoTime @1 :UInt64;
|
|
startedMonoTime @2 :UInt64;
|
|
revision @3 :Text;
|
|
enabled @4 :Bool;
|
|
status @5 :Text;
|
|
destinationName @6 :Text;
|
|
instruction @7 :Instruction;
|
|
route @8 :List(Coordinate);
|
|
nextManeuver @9 :Instruction;
|
|
locationMonoTime @10 :UInt64;
|
|
controlValid @11 :Bool;
|
|
|
|
struct Coordinate {
|
|
latitude @0 :Float64;
|
|
longitude @1 :Float64;
|
|
}
|
|
struct Instruction {
|
|
text @0 :Text;
|
|
maneuverType @1 :Text;
|
|
maneuverModifier @2 :Text;
|
|
distanceMeters @3 :Float32;
|
|
remainingDistanceMeters @4 :Float32;
|
|
remainingDurationSeconds @5 :Float32;
|
|
}
|
|
}
|