mirror of https://github.com/commaai/cereal.git
Add lane change states to pathPlan
This commit is contained in:
parent
39e31397a4
commit
44ee5a949c
15
log.capnp
15
log.capnp
|
@ -701,6 +701,8 @@ struct PathPlan {
|
|||
commIssue @15 :Bool;
|
||||
posenetValid @16 :Bool;
|
||||
desire @17 :Desire;
|
||||
laneChangeState @18 :LaneChangeState;
|
||||
laneChangeDirection @19 :LaneChangeDirection;
|
||||
|
||||
enum Desire {
|
||||
none @0;
|
||||
|
@ -711,6 +713,19 @@ struct PathPlan {
|
|||
keepLeft @5;
|
||||
keepRight @6;
|
||||
}
|
||||
|
||||
enum LaneChangeState {
|
||||
off @0;
|
||||
preLaneChange @1;
|
||||
laneChangeStarting @2;
|
||||
laneChangeFinishing @3;
|
||||
}
|
||||
|
||||
enum LaneChangeDirection {
|
||||
none @0;
|
||||
left @1;
|
||||
right @2;
|
||||
}
|
||||
}
|
||||
|
||||
struct LiveLocationData {
|
||||
|
|
Loading…
Reference in New Issue