paramsd: remove saved param if mismatch (#35215)

remove LiveParametersV2
log-compat-test
Kacper Rączy 2 months ago committed by GitHub
parent bdffd34088
commit cbec1886e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      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

Loading…
Cancel
Save