Open daisukes opened 1 year ago
Description Re-connection of subscription of a Topic instance does not work if the instance is also used for publication.
To Reproduce Reproduction code https://github.com/daisukes/rosbridge-bug/blob/main/bridge/test_ng.py
Expected behavior
subscription to the Topic is connected automatically
Note https://github.com/gramaziokohler/roslibpy/blob/82442226d8b20f132a07dba7ced285945ce1c238/src/roslibpy/core.py#L300 self._connect_message is shared by publish/subscribe, so re-connection may not work as expected
self._connect_message
Description Re-connection of subscription of a Topic instance does not work if the instance is also used for publication.
To Reproduce Reproduction code https://github.com/daisukes/rosbridge-bug/blob/main/bridge/test_ng.py
Expected behavior
subscription to the Topic is connected automatically
Note https://github.com/gramaziokohler/roslibpy/blob/82442226d8b20f132a07dba7ced285945ce1c238/src/roslibpy/core.py#L300
self._connect_message
is shared by publish/subscribe, so re-connection may not work as expected