Logo
Explore Help
Register Sign In
sadmen
/
jyoung
mirror of https://github.com/jyoung8607/openpilot.git
1
0
Fork
You've already forked jyoung
0
Code Issues Packages Projects Releases Wiki Activity
open source driving agent
4323 Commits
101 Branches
34 Tags
1.6 GiB
Tree: d1068dc263
jyoung/selfdrive/debug/internal/check_alive_valid.py

20 lines
420 B
Raw Normal View History Unescape Escape

add simple script to print controlsd alive and valid old-commit-hash: e66c246f34fc1cfa87adb1157e2b44d8927cdd03
5 years ago
#!/usr/bin/env python3
import time
import cereal.messaging as messaging
if __name__ == "__main__":
cereal cleanup part 2 (#20092) * 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 old-commit-hash: 312b681a46b8153314a8420611b6479dd6f70dfc
4 years ago
sm = messaging.SubMaster(['deviceState', 'pandaState', 'modelV2', 'liveCalibration', 'driverMonitoringState', 'longitudinalPlan', 'lateralPlan'])
add simple script to print controlsd alive and valid old-commit-hash: e66c246f34fc1cfa87adb1157e2b44d8927cdd03
5 years ago
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)
Powered by Gitea Version: 1.17.1 Page: 92ms Template : 2ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website