Use normal can sock

old-commit-hash: 07e2d34ebb40b6bd3e2e35e823da3fa61ebe96f0
This commit is contained in:
Willem Melching
2020-04-22 14:24:24 -07:00
parent b20b61b21c
commit e11eaf7fa9
+2 -2
View File
@@ -16,8 +16,8 @@ for i in range(2):
# Replay
sendcan = messaging.pub_sock('sendcan')
can = messaging.pub_sock('can')
while True:
for m in can_msgs:
sendcan.send(m.as_builder().to_bytes())
can.send(m.as_builder().to_bytes())
time.sleep(0.01) # 100 Hz