-
Notifications
You must be signed in to change notification settings - Fork 526
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
Rosbridge blocks subscriptions to a topic if it subscribes before the subscription is available. #769
Comments
I believe the source of this is this PR: #690
Where we assume the default reliability policy is RELIABLE
|
This issue has been marked as stale because there has been no activity in the past 12 months. Please add a comment to keep it open. |
Bump |
Bump? |
@johncarl81 I am facing the same issue, any clues as to how to solve this? |
Hi @wvergouwenavular, have you tried out the linked PR which changes the reliability policy to |
Hi @johncarl81 I have not yet tried it, since it requires building rosbridge from source... |
This issue has been marked as stale because there has been no activity in the past 12 months. Please add a comment to keep it open. |
Facing similar issues! ,Will there be any effort in this direction? |
Description
When I start rosbridge and subscribe to a topic before the topic is available I receive the following error:
and subsequent attempts to connect via rosbridge to the given topic don't return anything.
Steps To Reproduce
Subscribe to a stream that hasn't been started yet via ros (in this case a mavros stream):
(not sure of the exact syntax here):
subscribe to /mavros/global_position/global
Start said stream
Received error:
Expected Behavior
I'd expect the subscription to be either configurable or more graceful in subscribing to this sort of stream.
Actual Behavior
In essence, rosbridge blocks itself from ever subscribing to a stream if rosbridge attempts to subscribe to it before it's available. This block is in place for as long as rosbridge is continuously running.
More Info
Here's topic info for when rosbridge subscribes to the stream first:
Note the
Reliability: BEST_EFFORT
underrosbridge_websocket
And here's a topic info for when rosbridge subscribes to the stream first:
Note the
Reliability: RELIABLE
underrosbridge_websocket
The text was updated successfully, but these errors were encountered: