From 23363890cd9dbf6ba918c5e5c1efb858c63e63cb Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 23 Apr 2020 12:19:46 -0700 Subject: [PATCH] We need that to filter out loopback bus --- selfdrive/boardd/tests/replay_many.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/boardd/tests/replay_many.py b/selfdrive/boardd/tests/replay_many.py index 8a6568a7a217bb..7596b47a145f15 100755 --- a/selfdrive/boardd/tests/replay_many.py +++ b/selfdrive/boardd/tests/replay_many.py @@ -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)