Compare commits

...

12 Commits

Author SHA1 Message Date
Jason Wen
c590c39362 bump 2025-10-09 01:31:38 -04:00
Jason Wen
1b0ae07a0c see if it's better 2025-10-09 01:17:07 -04:00
Jason Wen
a564824c85 bump 2025-10-08 23:10:57 -04:00
Jason Wen
78635eee88 bump 2025-10-08 22:23:12 -04:00
Jason Wen
97c7eacbf4 fix 2025-10-08 16:29:10 -04:00
Jason Wen
4a204b8a22 new-ish resume logic 2025-10-08 12:30:40 -04:00
Jason Wen
ae658b82d7 only send this while we want to command 2025-10-08 11:58:23 -04:00
Jason Wen
11aeebf452 only for ones with higher min enable speed 2025-10-06 03:27:53 -04:00
Jason Wen
f6be0110b8 disable for now for fca 2025-10-06 02:40:33 -04:00
Jason Wen
8981993def disable for now for fca 2025-10-06 02:40:30 -04:00
Jason Wen
209cbaed01 init differently 2025-10-06 02:31:16 -04:00
Jason Wen
028c3691f6 bump 2025-10-06 01:32:54 -04:00
3 changed files with 2 additions and 3 deletions

View File

@@ -131,7 +131,6 @@ class ModularAssistiveDrivingSystem:
self.transition_paused_state()
self.events.remove(EventName.preEnableStandstill)
self.events.remove(EventName.belowEngageSpeed)
self.events.remove(EventName.speedTooLow)
self.events.remove(EventName.cruiseDisabled)
self.events.remove(EventName.manualRestart)

View File

@@ -37,7 +37,7 @@ class CarSpecificEventsSP:
# TODO-SP: add 1 m/s hysteresis
if CS.vEgo >= self.CP.minEnableSpeed:
self.low_speed_alert = False
if CS.gearShifter != GearShifter.drive:
if self.CP.minEnableSpeed >= 14.5 and CS.gearShifter != GearShifter.drive:
self.low_speed_alert = True
if self.low_speed_alert:
events.add(EventName.belowSteerSpeed)