Deprecate lowSpeedLockout alert (#33696)

* is an accFault

* bump

* bump to master

* remove from car specific
This commit is contained in:
Shane Smiskol
2024-10-01 20:16:25 -07:00
committed by GitHub
parent 17edc5f660
commit 516aa59ee6
4 changed files with 2 additions and 9 deletions
+1 -1
View File
@@ -52,7 +52,6 @@ struct OnroadEvent @0x9b1657f34caf3ad3 {
brakeHold @28;
parkBrake @29;
manualRestart @30;
lowSpeedLockout @31;
joystickDebug @34;
longitudinalManeuver @124;
steerTempUnavailableSilent @35;
@@ -150,6 +149,7 @@ struct OnroadEvent @0x9b1657f34caf3ad3 {
wideRoadCameraErrorDEPRECATED @102;
highCpuUsageDEPRECATED @105;
startupNoFwDEPRECATED @104;
lowSpeedLockoutDEPRECATED @31;
}
}
-2
View File
@@ -99,8 +99,6 @@ class CarSpecificEvents:
if self.CP.openpilotLongitudinalControl:
if CS.out.cruiseState.standstill and not CS.out.brakePressed:
events.add(EventName.resumeRequired)
if CS.low_speed_lockout: # type: ignore[attr-defined]
events.add(EventName.lowSpeedLockout)
if CS.out.vEgo < self.CP.minEnableSpeed:
events.add(EventName.belowEngageSpeed)
if CC_prev.actuators.accel > 0.3:
-5
View File
@@ -945,11 +945,6 @@ EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = {
ET.NO_ENTRY: NoEntryAlert("Slow down to engage"),
},
EventName.lowSpeedLockout: {
ET.PERMANENT: NormalPermanentAlert("Cruise Fault: Restart the car to engage"),
ET.NO_ENTRY: NoEntryAlert("Cruise Fault: Restart the Car"),
},
EventName.lkasDisabled: {
ET.PERMANENT: NormalPermanentAlert("LKAS Disabled: Enable LKAS to engage"),
ET.NO_ENTRY: NoEntryAlert("LKAS Disabled"),