From 5a5904e2c592a6c9fe28b803abe688b8918ae2f8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 4 May 2024 00:22:48 -0500 Subject: [PATCH] wip --- selfdrive/car/hyundai/carstate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index abba508..ecaa384 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -61,7 +61,7 @@ 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.vl, sys.stderr) + # 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: