From 78aba03b4f7918f23a4e5e8f7eb7d8856879a8a2 Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Thu, 27 Aug 2026 03:19:39 -0400 Subject: [PATCH] Revert "tell me wtf is wrong" This reverts commit 2c002755c7085422cf4574db7e9ec399eabc0760. --- selfdrive/selfdrived/events.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/selfdrive/selfdrived/events.py b/selfdrive/selfdrived/events.py index aabbf2fd3..6d530cab4 100644 --- a/selfdrive/selfdrived/events.py +++ b/selfdrive/selfdrived/events.py @@ -504,15 +504,6 @@ def no_lane_available_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.S -def big_model_loading_alert(CP: car.CarParams, CS: car.CarState, sm: messaging.SubMaster, metric: bool, soft_disable_time: int, personality, starpilot_toggles: SimpleNamespace) -> Alert: - if HARDWARE.get_device_type() == 'mici': - return EmptyAlert - voltages = [s.voltage for s in sm['pandaStates'] if s.voltage > 0] if sm.seen['pandaStates'] else [] - v = max(voltages) if voltages else 0 - subtitle = f"Waiting for 13.0V ({v / 1000:.1f}V)" if 0 < v < 13000 else "Warming Up..." - return NormalPermanentAlert("Big Model Loading", subtitle) - - EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = { # ********** events with no alerts ********** @@ -533,7 +524,6 @@ EVENTS: dict[int, dict[str, Alert | AlertCallbackType]] = { }, EventName.bigModelLoading: { - ET.PERMANENT: big_model_loading_alert, ET.NO_ENTRY: NoEntryAlert("Big Model Loading"), },