From 0b016fd1ef413c82c1bb7c812885138d9d962c4d Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sat, 26 Aug 2023 05:32:57 -0700 Subject: [PATCH 1/4] recv returns updated --- selfdrive/car/isotp_parallel_query.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/car/isotp_parallel_query.py b/selfdrive/car/isotp_parallel_query.py index adbc598ea60529..339857a2915d36 100644 --- a/selfdrive/car/isotp_parallel_query.py +++ b/selfdrive/car/isotp_parallel_query.py @@ -104,14 +104,14 @@ def get_data(self, timeout, total_timeout=60.): for tx_addr, msg in msgs.items(): try: - dat, rx_in_progress = msg.recv() + dat, updated = msg.recv() except Exception: cloudlog.exception(f"Error processing UDS response: {tx_addr}") request_done[tx_addr] = True continue - # Extend timeout for each consecutive ISO-TP frame to avoid timing out on long responses - if rx_in_progress: + # Extend timeout for each valid ISO-TP frame to avoid timing out on long responses + if updated: addrs_responded.add(tx_addr) response_timeouts[tx_addr] = time.monotonic() + timeout From 910c2d9788425205c6e1535b112e125c8d8d9ff4 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sat, 26 Aug 2023 05:33:03 -0700 Subject: [PATCH 2/4] bump panda --- panda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda b/panda index cca252c8d497f5..ba4c4f194aab30 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit cca252c8d497f52494b5c21aa30f915e9ffc6ce8 +Subproject commit ba4c4f194aab30a8673f30983df42db7d9be7478 From 18df9d867da37e92af290bf8bb85bd55deccb6a9 Mon Sep 17 00:00:00 2001 From: sshane Date: Sat, 26 Aug 2023 06:39:11 -0700 Subject: [PATCH 3/4] bump --- panda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda b/panda index ba4c4f194aab30..8c8c3edddeecc2 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit ba4c4f194aab30a8673f30983df42db7d9be7478 +Subproject commit 8c8c3edddeecc2fe92997b159151b6f7b87afa0e From cc9f8dcbfe38434626011c2c09b519f5515aca0e Mon Sep 17 00:00:00 2001 From: sshane Date: Sat, 26 Aug 2023 06:46:05 -0700 Subject: [PATCH 4/4] bump --- panda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda b/panda index 8c8c3edddeecc2..0eb04fae67646e 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit 8c8c3edddeecc2fe92997b159151b6f7b87afa0e +Subproject commit 0eb04fae67646e283b7d750d1e2119e37c398f95