Add carNotReady noEntry (#38485)

* car not ready

* missing

* missing

* bump
This commit is contained in:
Shane Smiskol
2026-07-29 20:02:35 -07:00
committed by GitHub
parent 47a7524595
commit 6ac27d491b
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -116,6 +116,7 @@ struct OnroadEvent @0xc4fa6047f024e718 {
canBusMissing @80;
selfdrivedLagging @81;
resumeBlocked @82;
carNotReady @103;
steerTimeLimit @83;
vehicleSensorsInvalid @84;
locationdTemporaryError @85;
+2
View File
@@ -133,6 +133,8 @@ class CarSpecificEvents:
events.add(EventName.parkBrake)
if CS.accFaulted:
events.add(EventName.accFaulted)
if CS.carNotReady:
events.add(EventName.carNotReady)
if CS.steeringPressed:
events.add(EventName.steerOverride)
if CS.steeringDisengage and not CS_prev.steeringDisengage:
+4
View File
@@ -754,6 +754,10 @@ EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = {
ET.NO_ENTRY: NoEntryAlert("Press Set to Engage"),
},
EventName.carNotReady: {
ET.NO_ENTRY: NoEntryAlert("Car Not Ready"),
},
EventName.wrongCruiseMode: {
ET.USER_DISABLE: EngagementAlert(AudibleAlert.disengage),
ET.NO_ENTRY: NoEntryAlert("Adaptive Cruise Disabled"),