Revert "IsoTpParallelQuery: extend timeout for every frame type" (#29693)

* Revert "IsoTpParallelQuery: extend timeout for every frame type (#29654)"

This reverts commit bbde2143a809048ff9e5cf1a0deef6b37ee4c9c9.

* bump

* bump to master

* figure out a clean way to exclude segments

* revert

* bump
old-commit-hash: ddddc7a8cb
beeps
Shane Smiskol 2 years ago committed by GitHub
parent 4f6347d5b1
commit 280f70ada5
  1. 2
      panda
  2. 6
      selfdrive/car/isotp_parallel_query.py

@ -1 +1 @@
Subproject commit 0eb04fae67646e283b7d750d1e2119e37c398f95
Subproject commit ca9d8675b90e637051786057ad80fe7e534b2ae4

@ -104,14 +104,14 @@ class IsoTpParallelQuery:
for tx_addr, msg in msgs.items():
try:
dat, updated = msg.recv()
dat, rx_in_progress = msg.recv()
except Exception:
cloudlog.exception(f"Error processing UDS response: {tx_addr}")
request_done[tx_addr] = True
continue
# Extend timeout for each valid ISO-TP frame to avoid timing out on long responses
if updated:
# Extend timeout for each consecutive ISO-TP frame to avoid timing out on long responses
if rx_in_progress:
addrs_responded.add(tx_addr)
response_timeouts[tx_addr] = time.monotonic() + timeout

Loading…
Cancel
Save