From f94528d65dea476eb0bf286110eb6dbb2293ddb5 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 18 Apr 2023 15:19:23 -0700 Subject: [PATCH] ecu addrs: add warning when skipping remote frame (#27959) add warning --- selfdrive/car/ecu_addrs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/ecu_addrs.py b/selfdrive/car/ecu_addrs.py index 0e5afa1f41..868f12cdb8 100755 --- a/selfdrive/car/ecu_addrs.py +++ b/selfdrive/car/ecu_addrs.py @@ -56,6 +56,7 @@ def get_ecu_addrs(logcan: messaging.SubSocket, sendcan: messaging.PubSocket, que for packet in can_packets: for msg in packet.can: if not len(msg.dat): + cloudlog.warning("ECU addr scan: skipping empty remote frame") continue subaddr = None if (msg.address, None, msg.src) in responses else msg.dat[0]