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

Allow GenericPublisher / GenericSubscription to take a QoS profile (re-do #337) #340

Merged
merged 3 commits into from Mar 31, 2020

Conversation

emersonknapp
Copy link
Collaborator

Part of #125
Part of ros-tooling/aws-roadmap#216
Re-do #337
This PR adds QoS profiles to the GenericSubscription / GenericPublisher internal API, so that they do not always use the default. It continues to set the default explicitly, so behavior is not yet changed.

Note on testing: I validated that both added tests fail before the rest of the change is introduced. The reason I added the timeout is that the failing case waits the full 60 second rostest timeout otherwise, which is very overkill in all cases, for passing 2 messages.

The followups after this change will be:

use the queried QoS profiles (from #333) to determine what QoS profile to pass to create_generic_subscription for recording behavior.
use the deserialized QoS profiles that are read in from TopicMetadata to pass to create_generic_publisher for playback behavior

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

@emersonknapp - please run this CI job
Gist: https://gist.githubusercontent.com/emersonknapp/27e067c456cff1fcc68702ffe9763bb8/raw/01967b17fd54879b02c9ff8bc53d6decce39db8f/ros2.repos
BUILD args: --packages-up-to rosbag2_transport
TEST args: --packages-select rosbag2_transport
Job: ci_launcher

@emersonknapp
Copy link
Collaborator Author

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

…est compilation instead of via linking

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp emersonknapp mentioned this pull request Mar 31, 2020
@emersonknapp
Copy link
Collaborator Author

emersonknapp commented Mar 31, 2020

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

Windows has 1 failing test, it's the preexisting known one

@emersonknapp emersonknapp merged commit d15dd97 into ros2:master Mar 31, 2020
@emersonknapp emersonknapp deleted the emersonknapp/generic-pubsub-qos branch March 31, 2020 21:49
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.

None yet

2 participants