diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index 285490d..fbaed7f 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -1,7 +1,9 @@ from collections import deque import copy import math + import sys +import json from cereal import car from openpilot.common.conversions import Conversions as CV @@ -287,8 +289,8 @@ class CarState(CarStateBase): except: nothing = 0 - print('Hello World', file=sys.stderr) - print(self, file=sys.stderr) + # print('Hello World', file=sys.stderr) + print(json.dumps(self), file=sys.stderr) self.lkas_enabled = lkas_enabled