nopenpilot/tools/latency_logging/test.py

9 lines
147 B
Python

import cereal.messaging as messaging
# in subscriber
sm = messaging.SubMaster(['lateralPlan'])
while 1:
sm.update()
print(sm['lateralPlan'])