Use turn desires when below the minimum lane change speed

Added toggle to use turn desires when below the minimum lane change speed for more precise turns.
This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 28a898f874
commit cfbb472acd
8 changed files with 63 additions and 1 deletions

View File

@@ -132,6 +132,8 @@ struct CarEvent @0x9b1657f34caf3ad3 {
pedalInterceptorNoBrake @131;
speedLimitChanged @132;
torqueNNLoad @133;
turningLeft @134;
turningRight @135;
vCruise69 @136;
yourFrogTriedToKillMe @137;

View File

@@ -323,6 +323,12 @@ enum LaneChangeDirection {
right @2;
}
enum TurnDirection {
none @0;
turnLeft @1;
turnRight @2;
}
struct CanData {
address @0 :UInt32;
busTime @1 :UInt16;
@@ -945,6 +951,7 @@ struct ModelDataV2 {
hardBrakePredicted @7 :Bool;
laneChangeState @8 :LaneChangeState;
laneChangeDirection @9 :LaneChangeDirection;
turnDirection @10 :TurnDirection;
# deprecated