mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-08 18:24:20 +08:00
Compare commits
12 Commits
master-dev
...
fca-temp-f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c590c39362 | ||
|
|
1b0ae07a0c | ||
|
|
a564824c85 | ||
|
|
78635eee88 | ||
|
|
97c7eacbf4 | ||
|
|
4a204b8a22 | ||
|
|
ae658b82d7 | ||
|
|
11aeebf452 | ||
|
|
f6be0110b8 | ||
|
|
8981993def | ||
|
|
209cbaed01 | ||
|
|
028c3691f6 |
Submodule opendbc_repo updated: bf0aba991a...29fe003b2f
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user