Skip to content

Commit

Permalink
gmlan test
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Jun 15, 2018
1 parent 8efa389 commit a1a2d97
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/gmbitbang/test_one.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

p = Panda()
p.set_safety_mode(Panda.SAFETY_ALLOUTPUT)

# ack any crap on bus
p.set_gmlan(bus=2)
time.sleep(0.1)
while len(p.can_recv()) > 0:
print "clearing"
time.sleep(0.1)
print "cleared"
p.set_gmlan(bus=None)

iden = 18000
Expand Down

0 comments on commit a1a2d97

Please sign in to comment.