diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index 30b89ef..8743a55 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -61,7 +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) + # 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') return speed_limit_bus.vl["CLUSTER_SPEED_LIMIT"]["SPEED_LIMIT_1"] else: if "SpeedLim_Nav_Clu" not in cp.vl["Navi_HU"]: