From c41f9a7c5b6538b3e5fe34d071fda7e33c6fe68d Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 3 May 2024 22:53:30 -0500 Subject: [PATCH] wip --- selfdrive/car/hyundai/carstate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index fbaed7f..91788d5 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -290,7 +290,8 @@ class CarState(CarStateBase): nothing = 0 # print('Hello World', file=sys.stderr) - print(json.dumps(self), file=sys.stderr) + # print(json.dumps(self), file=sys.stderr) + sys.stderr.write(str({k: v for k, v in vars(self).items() if isinstance(v, (int, float, str, bool))}) + '\n') self.lkas_enabled = lkas_enabled