mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-24 07:22:04 +08:00
IsoTpParallelQuery: set separation time (#25978)
* Specify separation time in openpilot * comment * Update selfdrive/car/isotp_parallel_query.py * Update selfdrive/car/isotp_parallel_query.py
This commit is contained in:
+1
-1
Submodule panda updated: 9bcd9b9a24...3334dc21f5
@@ -68,7 +68,10 @@ class IsoTpParallelQuery:
|
||||
self.bus, sub_addr=sub_addr, debug=self.debug)
|
||||
|
||||
max_len = 8 if sub_addr is None else 7
|
||||
return IsoTpMessage(can_client, timeout=0, max_len=max_len, debug=self.debug)
|
||||
# uses iso-tp frame separation time of 10 ms
|
||||
# TODO: use single_frame_mode so ECUs can send as fast as they want,
|
||||
# as well as reduces chances we process messages from previous queries
|
||||
return IsoTpMessage(can_client, timeout=0, separation_time=0.01, debug=self.debug, max_len=max_len)
|
||||
|
||||
def get_data(self, timeout, total_timeout=60.):
|
||||
self._drain_rx()
|
||||
|
||||
Reference in New Issue
Block a user