Deprecate lowSpeedLockout alert (#33696)

* is an accFault

* bump

* bump to master

* remove from car specific
pull/33699/head
Shane Smiskol 7 months ago committed by GitHub
parent 17edc5f660
commit 516aa59ee6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cereal/car.capnp
  2. 2
      opendbc_repo
  3. 2
      selfdrive/car/car_specific.py
  4. 5
      selfdrive/selfdrived/events.py

@ -52,7 +52,6 @@ struct OnroadEvent @0x9b1657f34caf3ad3 {
brakeHold @28; brakeHold @28;
parkBrake @29; parkBrake @29;
manualRestart @30; manualRestart @30;
lowSpeedLockout @31;
joystickDebug @34; joystickDebug @34;
longitudinalManeuver @124; longitudinalManeuver @124;
steerTempUnavailableSilent @35; steerTempUnavailableSilent @35;
@ -150,6 +149,7 @@ struct OnroadEvent @0x9b1657f34caf3ad3 {
wideRoadCameraErrorDEPRECATED @102; wideRoadCameraErrorDEPRECATED @102;
highCpuUsageDEPRECATED @105; highCpuUsageDEPRECATED @105;
startupNoFwDEPRECATED @104; startupNoFwDEPRECATED @104;
lowSpeedLockoutDEPRECATED @31;
} }
} }

@ -1 +1 @@
Subproject commit bed4c18a959475251e48c28fadfa6bc207f20ec6 Subproject commit 01f47ff1a324ade77d99f79c7ea0f4e87110147d

@ -99,8 +99,6 @@ class CarSpecificEvents:
if self.CP.openpilotLongitudinalControl: if self.CP.openpilotLongitudinalControl:
if CS.out.cruiseState.standstill and not CS.out.brakePressed: if CS.out.cruiseState.standstill and not CS.out.brakePressed:
events.add(EventName.resumeRequired) events.add(EventName.resumeRequired)
if CS.low_speed_lockout: # type: ignore[attr-defined]
events.add(EventName.lowSpeedLockout)
if CS.out.vEgo < self.CP.minEnableSpeed: if CS.out.vEgo < self.CP.minEnableSpeed:
events.add(EventName.belowEngageSpeed) events.add(EventName.belowEngageSpeed)
if CC_prev.actuators.accel > 0.3: if CC_prev.actuators.accel > 0.3:

@ -945,11 +945,6 @@ EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = {
ET.NO_ENTRY: NoEntryAlert("Slow down to engage"), 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: { EventName.lkasDisabled: {
ET.PERMANENT: NormalPermanentAlert("LKAS Disabled: Enable LKAS to engage"), ET.PERMANENT: NormalPermanentAlert("LKAS Disabled: Enable LKAS to engage"),
ET.NO_ENTRY: NoEntryAlert("LKAS Disabled"), ET.NO_ENTRY: NoEntryAlert("LKAS Disabled"),

Loading…
Cancel
Save