From 34e9f82e3ce02e52533c8f8abb912565f5391a65 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 4 May 2024 00:19:40 -0500 Subject: [PATCH] wip --- selfdrive/car/hyundai/carstate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index 8743a55..abba508 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -61,8 +61,8 @@ class CarState(CarStateBase): def calculate_speed_limit(self, cp, cp_cam): if self.CP.carFingerprint in CANFD_CAR: speed_limit_bus = cp if self.CP.flags & HyundaiFlags.CANFD_HDA2 else cp_cam - # print(speed_limit_bus, sys.stderr) - sys.stderr.write(str({k: v for k, v in vars(speed_limit_bus).items() if isinstance(v, (int, float, str, bool))}) + '\n') + print(speed_limit_bus.vl, sys.stderr) + # sys.stderr.write(str({k: v for k, v in vars(speed_limit_bus).items() if isinstance(v, (int, float, str, bool))}) + '\n') return speed_limit_bus.vl["CLUSTER_SPEED_LIMIT"]["SPEED_LIMIT_1"] else: if "SpeedLim_Nav_Clu" not in cp.vl["Navi_HU"]: