add desire to controlsState

This commit is contained in:
Willem Melching 2019-09-03 18:49:08 -07:00
parent 5b40840a63
commit 82cd0ed1b3
1 changed files with 11 additions and 0 deletions

View File

@ -452,6 +452,7 @@ struct ControlsState @0x97ff69c53601abf1 {
decelForTurn @47 :Bool;
decelForModel @54 :Bool;
desire @57 :Desire;
lateralControlState :union {
indiState @52 :LateralINDIState;
@ -519,6 +520,16 @@ struct ControlsState @0x97ff69c53601abf1 {
lqrOutput @4 :Float32;
}
enum Desire {
none @0;
turnLeft @1;
turnRight @2;
laneChangeLeft @3;
laneChangeRight @4;
keepLeft @5;
keepRight @6;
}
}
struct LiveEventData {