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

Query offered QoS profiles for a topic and store in metadata #333

Merged
merged 6 commits into from
Mar 30, 2020

Conversation

emersonknapp
Copy link
Collaborator

@emersonknapp emersonknapp commented Mar 27, 2020

Part of #125
Moves https://github.com/ros-tooling/aws-roadmap/issues/215 to Done
This change queries the currently offered QoS profiles for a given topic at the time of subscription, and stores them in the TopicMetadata. This does not use the queried QoS profile in any way, just stores it.

With this in, you will see the string-serialized profiles in both the metadata.yaml file and the sqlite topics table.

This does not handle new publishers that join after subscribing to a topic. We do not currently have a mechanism to change TopicMetadata after initial creation, and do not plan to add this ability for Foxy.

Once we have used the queried QoS profile to subscribe (upcoming change), we will need to make sure to notice late-joining publishers that offer a different QoS profile than we used to subscribe, to warn the user that this has happened.

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp
Copy link
Collaborator Author

@Karsten1987 ping for monday review :) I put more detail on the description for this one.

@emersonknapp
Copy link
Collaborator Author

@emersonknapp - please run this CI job
Gist: https://gist.githubusercontent.com/emersonknapp/8a25fa1084cd436020bf28fc35b0077d/raw/f1ace117ae842c9262eca05929f27756f8bf4e6b/ros2.repos
BUILD args: --packages-up-to rosbag2
TEST args: --packages-select rosbag2_transport rosbag2_storage rosbag2_storage_default_plugins rosbag2_tests
Job: ci_launcher

@emersonknapp
Copy link
Collaborator Author

emersonknapp commented Mar 30, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

The warnings in OSX are from rclcpp, unrelated to this change.
The test failure in windows is the remaining known issue from #305

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

Successfully merging this pull request may close these issues.

3 participants