Add lane change states to pathPlan

This commit is contained in:
Willem Melching 2019-09-05 16:31:38 -07:00
parent 39e31397a4
commit 44ee5a949c
1 changed files with 15 additions and 0 deletions

View File

@ -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 {