-
Notifications
You must be signed in to change notification settings - Fork 252
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
Subscribe to topics using the common offered QoS #343
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…th sufficient warning in the cases where we can't Signed-off-by: Emerson Knapp <[email protected]>
emersonknapp
changed the title
Subscribe to topics using the common offered QoS
[WIP] Subscribe to topics using the common offered QoS
Apr 1, 2020
Signed-off-by: Emerson Knapp <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
…te with a default Signed-off-by: Emerson Knapp <[email protected]>
21 tasks
Signed-off-by: Emerson Knapp <[email protected]>
Signed-off-by: Emerson Knapp <[email protected]>
emersonknapp
changed the title
[WIP] Subscribe to topics using the common offered QoS
Subscribe to topics using the common offered QoS
Apr 2, 2020
thomas-moulard
approved these changes
Apr 2, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, few very minor nits.
zmichaels11
approved these changes
Apr 2, 2020
Signed-off-by: Emerson Knapp <[email protected]>
zmichaels11
approved these changes
Apr 2, 2020
Signed-off-by: Emerson Knapp <[email protected]>
The windows build is again the known test failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #125
Moves https://github.com/ros-tooling/aws-roadmap/issues/216 to Done
Subscribe to topics using the common offered QoS if there is one, with sufficient warning in the cases where we can't.
As we discussed in the original design, we will not try to resolve compatibility at all. So, if all publishers at the time of subscription offer the same QoS profile (likely vast majority of cases), then that profile will be used to subscribe.
However, if there are different profiles being offered for a topic, fallback to the preexisting default. This means rosbag2 acts the same for these cases as it does before this PR. But, now we print a warning about it.
If new publishers join after our subscription was created, and they offer a different QoS profile than we used to subscribe, also print a warning about that case because it may result in loss of data.
Signed-off-by: Emerson Knapp [email protected]