From 7c9357c62b2fa4e6c1f1273e9cc7e9cbb134061a Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Sat, 28 Nov 2026 12:18:01 -0600 Subject: [PATCH] Close Training Photo Workers Cleanly --- openpilot/selfdrive/ui/layouts/training_guide.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openpilot/selfdrive/ui/layouts/training_guide.py b/openpilot/selfdrive/ui/layouts/training_guide.py index dd18c8ec3b..a7d89d4697 100644 --- a/openpilot/selfdrive/ui/layouts/training_guide.py +++ b/openpilot/selfdrive/ui/layouts/training_guide.py @@ -180,7 +180,7 @@ class TextureLoader: return gui_app._load_image_from_path(os.path.join(BASEDIR, "openpilot/selfdrive/assets", path)) def queue(self, paths: list[str]): - threading.Thread(target=self._load, args=(paths, self._generation), daemon=True).start() + threading.Thread(target=self._load, args=(paths, self._generation), name="training-photos").start() def _load(self, paths: list[str], generation: int): for path in paths: @@ -431,7 +431,7 @@ class TrainingGuide(Widget): finish = HeroStep("bg_finish", tr_noop("Congratulations! You have completed StarPilot training."), ( tr_noop("This guide can be replayed at any time from the device settings."), - tr_noop("See the StarPilot wiki at github.com/StarPilotHQ/StarPilot for features and supported vehicles."), + tr_noop("See the StarPilot wiki for features and supported vehicles."), ), loader) finish.add_control(GuideButton(tr_noop("Restart"), self._restart, rl.Color(64, 64, 64, 255), rl.WHITE), RESTART_RECT) @@ -485,7 +485,7 @@ class TrainingGuide(Widget): ( tr_noop("You must pay attention at all times."), tr_noop("If you are distracted, StarPilot will show alerts of increasing severity, and you will be locked out from engaging."), - tr_noop("If the problem persists, the system will begin decelerating the vehicle."), + tr_noop("When StarPilot controls speed, it can slow the car as alerts escalate."), ), ), tr_noop("Tap the alert to continue"), "alert", TEAL, loader, ALERT_RECT, nxt, draw_distracted_screen), dm_record, @@ -527,7 +527,7 @@ class TrainingGuide(Widget): tr_noop("Change lanes with driver assistance."), ), "check", GREEN, nxt), ChecklistStep(tr_noop("StarPilot cannot:"), ( - tr_noop("Stay engaged while the driver is distracted."), + tr_noop("Replace your attention or readiness to take over."), tr_noop("See other cars during a lane change."), tr_noop("Avoid construction barriers, cones, or pedestrians."), tr_noop("React to unsafe situations like close vehicle cut-ins or road hazards."),