From cbec1886e7e17e5ab4d8ab80409c39492ac21917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20R=C4=85czy?= Date: Wed, 14 May 2025 04:26:28 +0200 Subject: [PATCH] paramsd: remove saved param if mismatch (#35215) remove LiveParametersV2 --- selfdrive/locationd/paramsd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/locationd/paramsd.py b/selfdrive/locationd/paramsd.py index a7712ba1d9..ec15f501ae 100755 --- a/selfdrive/locationd/paramsd.py +++ b/selfdrive/locationd/paramsd.py @@ -248,6 +248,7 @@ def retrieve_initial_vehicle_params(params: Params, CP: car.CarParams, replay: b retrieve_success = True except Exception as e: cloudlog.error(f"Failed to retrieve initial values: {e}") + params.remove("LiveParametersV2") if not replay: # When driving in wet conditions the stiffness can go down, and then be too low on the next drive