mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-11 16:02:06 +08:00
d3cc1e84a3
version: lp-dp v0.9.3 for EON/C2 date: 2023-06-12T05:58:26 commit: a6e632fddf5e5e22867c0fd549b4e701cbc35d63
60 lines
1.5 KiB
Cap'n Proto
60 lines
1.5 KiB
Cap'n Proto
using Cxx = import "./include/c++.capnp";
|
|
$Cxx.namespace("cereal");
|
|
|
|
@0xb526ba661d550a59;
|
|
|
|
# custom.capnp: a home for empty structs reserved for custom forks
|
|
# These structs are guaranteed to remain reserved and empty in mainline
|
|
# cereal, so use these if you want custom events in your fork.
|
|
|
|
# you can rename the struct, but don't change the identifier
|
|
struct LiveMapData @0x81c2f05a394cf4af {
|
|
speedLimitValid @0 :Bool;
|
|
speedLimit @1 :Float32;
|
|
speedLimitAheadValid @2 :Bool;
|
|
speedLimitAhead @3 :Float32;
|
|
speedLimitAheadDistance @4 :Float32;
|
|
turnSpeedLimitValid @5 :Bool;
|
|
turnSpeedLimit @6 :Float32;
|
|
turnSpeedLimitEndDistance @7 :Float32;
|
|
turnSpeedLimitSign @8 :Int16;
|
|
turnSpeedLimitsAhead @9 :List(Float32);
|
|
turnSpeedLimitsAheadDistances @10 :List(Float32);
|
|
turnSpeedLimitsAheadSigns @11 :List(Int16);
|
|
lastGpsTimestamp @12 :Int64; # Milliseconds since January 1, 1970.
|
|
currentRoadName @13 :Text;
|
|
lastGpsLatitude @14 :Float64;
|
|
lastGpsLongitude @15 :Float64;
|
|
lastGpsSpeed @16 :Float32;
|
|
lastGpsBearingDeg @17 :Float32;
|
|
lastGpsAccuracy @18 :Float32;
|
|
lastGpsBearingAccuracyDeg @19 :Float32;
|
|
}
|
|
|
|
struct CustomReserved1 @0xaedffd8f31e7b55d {
|
|
}
|
|
|
|
struct CustomReserved2 @0xf35cc4560bbf6ec2 {
|
|
}
|
|
|
|
struct CustomReserved3 @0xda96579883444c35 {
|
|
}
|
|
|
|
struct CustomReserved4 @0x80ae746ee2596b11 {
|
|
}
|
|
|
|
struct CustomReserved5 @0xa5cd762cd951a455 {
|
|
}
|
|
|
|
struct CustomReserved6 @0xf98d843bfd7004a3 {
|
|
}
|
|
|
|
struct CustomReserved7 @0xb86e6369214c01c8 {
|
|
}
|
|
|
|
struct CustomReserved8 @0xf416ec09499d9d19 {
|
|
}
|
|
|
|
struct CustomReserved9 @0xa1680744031fdb2d {
|
|
}
|