From 575a70bb2ba5732c5072e53b873438a54b5f9d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20R=C4=85czy?= Date: Sun, 23 Mar 2025 23:44:03 -0700 Subject: [PATCH] Rename Param --- selfdrive/locationd/lagd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/locationd/lagd.py b/selfdrive/locationd/lagd.py index a16558fed0..b3dd0957ac 100755 --- a/selfdrive/locationd/lagd.py +++ b/selfdrive/locationd/lagd.py @@ -183,7 +183,7 @@ def main(): CP = messaging.log_from_bytes(params.get("CarParams", block=True), car.CarParams) estimator = LagEstimator(CP, 1. / SERVICE_LIST['livePose'].frequency) - lag_params = params.get("LagParams") + lag_params = params.get("LiveLag") if lag_params: try: with log.Event.from_bytes(lag_params) as msg: @@ -212,7 +212,7 @@ def main(): pm.send('alertDebug', alert_msg) if msg.liveActuatorDelay.isEstimated: # TODO maybe to often once estimated - params.put_nonblocking("LagParams", msg.to_bytes()) + params.put_nonblocking("LiveLag", msg.to_bytes()) if __name__ == "__main__":