mirror of https://github.com/commaai/cereal.git
add desire to controlsState
This commit is contained in:
parent
5b40840a63
commit
82cd0ed1b3
11
log.capnp
11
log.capnp
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue