mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 13:33:59 +08:00
* car stuff * thermal * Revert "car stuff" This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976. * panda state * camera stuff * start deg * most is building * builds * planner + controls run * fix up paramsd * cleanup * process replay passes * fix webcam build * camerad * no more frame * thermald * ui * paramsd * camera replay * fix long tests * fix camerad tests * maxSteeringAngle * bump cereal * more frame * cereal master
20 lines
420 B
Python
Executable File
20 lines
420 B
Python
Executable File
#!/usr/bin/env python3
|
|
import time
|
|
import cereal.messaging as messaging
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sm = messaging.SubMaster(['deviceState', 'pandaState', 'modelV2', 'liveCalibration', 'driverMonitoringState', 'longitudinalPlan', 'lateralPlan'])
|
|
|
|
i = 0
|
|
while True:
|
|
sm.update(0)
|
|
|
|
i += 1
|
|
if i % 100 == 0:
|
|
print()
|
|
print("alive", sm.alive)
|
|
print("valid", sm.valid)
|
|
|
|
time.sleep(0.01)
|