Skip to content

Commit

Permalink
We need that to filter out loopback bus
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Apr 23, 2020
1 parent 95c2ff5 commit 2336389
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfdrive/boardd/tests/replay_many.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def send_thread(sender_serial):
while True:
tsc = messaging.recv_one(can_sock)
snd = can_capnp_to_can_list(tsc.can)
snd = list(filter(lambda x: x[-1] <= 2, snd))

try:
sender.can_send_many(snd)
Expand Down

0 comments on commit 2336389

Please sign in to comment.