Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription reconnection does not work if a Topic instance is used for both publication and subscrtiption #114

Open
daisukes opened this issue Mar 1, 2023 · 0 comments

Comments

@daisukes
Copy link

daisukes commented Mar 1, 2023

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

  1. connect
  2. make a Topic
  3. subscribe to the Topic
  4. publish to the Topic as well
  5. reconnect

Expected behavior

subscription to the Topic is connected automatically

Note

self._connect_message = message

self._connect_message is shared by publish/subscribe, so re-connection may not work as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant