mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-23 17:33:50 +08:00
@@ -197,8 +197,8 @@ class HudRenderer(Widget):
|
||||
self._draw_steering_wheel(rect)
|
||||
|
||||
def _draw_model_source(self, rect: rl.Rectangle) -> None:
|
||||
# if ui_state.sm.recv_frame['selfdriveState'] < ui_state.started_frame:
|
||||
# return
|
||||
if ui_state.sm.recv_frame['selfdriveState'] < ui_state.started_frame:
|
||||
return
|
||||
|
||||
big_failed = (ui_state.usbgpu_active is False or not ui_state.sm['deviceState'].chestnutPresent or
|
||||
(ui_state.usbgpu_active is True and ui_state.sm.recv_frame['modelV2'] > ui_state.started_frame and
|
||||
|
||||
Reference in New Issue
Block a user