rm complete sound (#38481)

* rm complete sound for now

* deprecate bigModelReady
This commit is contained in:
Daniel Koepping
2026-07-28 17:25:36 -07:00
committed by GitHub
parent 0b7bd2561d
commit 799551c2d6
5 changed files with 2 additions and 12 deletions
+1 -1
View File
@@ -129,7 +129,6 @@ struct OnroadEvent @0xc4fa6047f024e718 {
userBookmark @95;
excessiveActuation @96;
bigModelLoading @100;
bigModelReady @101;
bigModelFailed @102;
lowBatteryDEPRECATED @40;
@@ -137,6 +136,7 @@ struct OnroadEvent @0xc4fa6047f024e718 {
deviceFallingDEPRECATED @71;
usbErrorDEPRECATED @78;
audioFeedbackDEPRECATED @97;
bigModelReadyDEPRECATED @101;
}
}
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3027da9834adf9c71177bc3086f8de3018ce22e4725b694d635723c5b3c860cd
size 97120
-4
View File
@@ -414,10 +414,6 @@ EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = {
ET.PERMANENT: NormalPermanentAlert("Big Model Loading"),
},
EventName.bigModelReady: {
ET.PERMANENT: EngagementAlert(AudibleAlert.complete),
},
EventName.bigModelFailed: {
ET.PERMANENT: NormalPermanentAlert("Big Model Failed ", "Restart the car to retry,\nnow driving on small model", duration=30.),
},
+1 -3
View File
@@ -160,9 +160,7 @@ class SelfdriveD:
loading = self.params.get_bool("UsbGpuLoading")
if self.big_model_loading and not loading:
self.big_model_ready_t = time.monotonic()
if self.params.get_bool("UsbGpuActive"):
self.events.add(EventName.bigModelReady)
else:
if not self.params.get_bool("UsbGpuActive"):
self.events.add(EventName.bigModelFailed)
self.big_model_loading = loading
if self.big_model_loading:
-1
View File
@@ -44,7 +44,6 @@ sound_list: dict[int, tuple[str, int | None, float]] = {
AudibleAlert.promptDistracted: ("dm_warning.wav", None, MAX_VOLUME),
AudibleAlert.preAlert: ("pre_alert.wav", 1, MAX_VOLUME),
AudibleAlert.complete: ("complete.wav", 1, MAX_VOLUME),
AudibleAlert.warningSoft: ("critical.wav", None, MAX_VOLUME),
AudibleAlert.warningImmediate: ("dm_critical.wav", None, MAX_VOLUME),