vector-python-sdk icon indicating copy to clipboard operation
vector-python-sdk copied to clipboard

control_stream_task does not recover after a network reconnection

Open eshabtai opened this issue 6 years ago • 1 comments
trafficstars

_open_connections(self) on connection.py just returns when a network disconnection occurs and the task ends. Upon reconnection the task is not restarted so robot control requests are never granted.

Wrapping the function with a 'while not self._control_events.is_shutdown:' recovers disconnections for me but I have not followed the different code paths so not sure if that's the correct fix.

eshabtai avatar Dec 14 '18 13:12 eshabtai

Thanks for the note! :) We'll take a look and evaluate options.

kaiseranki avatar Dec 15 '18 01:12 kaiseranki