mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 19:42:07 +08:00
Deprecate lowSpeedLockout alert (#33696)
* is an accFault * bump * bump to master * remove from car specific
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
Submodule opendbc_repo updated: bed4c18a95...01f47ff1a3
@@ -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:
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user