mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-20 22:14:34 +08:00
added a timeout retry to send path in python protocol
This commit is contained in:
@@ -297,6 +297,9 @@ class Channel(PacketSink):
|
||||
except ChannelDamagedException:
|
||||
attempt += 1
|
||||
continue # resend
|
||||
except TimeoutError:
|
||||
attempt += 1
|
||||
continue # resend
|
||||
finally:
|
||||
self._my_lock.release()
|
||||
# Wait for ACK until the resend timeout is exceeded
|
||||
|
||||
Reference in New Issue
Block a user