2023-09-27 15:45:31 -07:00
|
|
|
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.
|
|
|
|
|
2025-03-08 09:09:31 +00:00
|
|
|
# DO rename the structs
|
|
|
|
# DON'T change the identifier (e.g. @0x81c2f05a394cf4af)
|
|
|
|
|
2024-09-03 16:09:00 +09:00
|
|
|
# you can rename the struct, but don't change the identifier
|
|
|
|
struct CarrotMan @0x81c2f05a394cf4af {
|
|
|
|
activeCarrot @0 : Int32;
|
|
|
|
nRoadLimitSpeed @1 : Int32;
|
|
|
|
remote @2 : Text;
|
|
|
|
xSpdType @3 : Int32;
|
|
|
|
xSpdLimit @4 : Int32;
|
|
|
|
xSpdDist @5 : Int32;
|
|
|
|
xSpdCountDown @6 : Int32;
|
|
|
|
xTurnInfo @7 : Int32;
|
|
|
|
xDistToTurn @8 : Int32;
|
|
|
|
xTurnCountDown @9 : Int32;
|
|
|
|
atcType @10 : Text;
|
|
|
|
vTurnSpeed @11 : Int32;
|
|
|
|
szPosRoadName @12 : Text;
|
|
|
|
szTBTMainText @13 : Text;
|
|
|
|
desiredSpeed @14 : Int32;
|
|
|
|
desiredSource @15 : Text;
|
|
|
|
carrotCmdIndex @16 : Int32;
|
|
|
|
carrotCmd @17 : Text;
|
|
|
|
carrotArg @18 : Text;
|
|
|
|
xPosLat @19 : Float32;
|
|
|
|
xPosLon @20 : Float32;
|
|
|
|
xPosAngle @21 : Float32;
|
|
|
|
xPosSpeed @22 : Float32;
|
|
|
|
trafficState @23 : Int32;
|
|
|
|
nGoPosDist @24 : Int32;
|
|
|
|
nGoPosTime @25 : Int32;
|
|
|
|
szSdiDescr @26 : Text;
|
|
|
|
naviPaths @27 : Text;
|
|
|
|
leftSec @28 : Int32;
|
2023-09-27 15:45:31 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
}
|
2025-03-08 09:09:31 +00:00
|
|
|
|
|
|
|
struct CustomReserved10 @0xcb9fd56c7057593a {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved11 @0xc2243c65e0340384 {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved12 @0x9ccdc8676701b412 {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved13 @0xcd96dafb67a082d0 {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved14 @0xb057204d7deadf3f {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved15 @0xbd443b539493bc68 {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved16 @0xfc6241ed8877b611 {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved17 @0xa30662f84033036c {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved18 @0xc86a3d38d13eb3ef {
|
|
|
|
}
|
|
|
|
|
|
|
|
struct CustomReserved19 @0xa4f1eb3323f5f582 {
|
|
|
|
}
|