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

Override Subscriber QoS - Record #346

Merged
merged 13 commits into from
Apr 7, 2020

Conversation

piraka9011
Copy link
Contributor

@piraka9011 piraka9011 commented Apr 2, 2020

  • Add a qos_profiles string to the recording options
  • Expose Publisher's QoS profile option in PublisherManager
  • Override a topic's QoS profile if an override is specified.

Part of #125
Part of ros-tooling/aws-roadmap#218

Signed-off-by: Anas Abou Allaban [email protected]

@piraka9011 piraka9011 changed the title Override Subscriber QoS Override Subscriber QoS - Record Apr 2, 2020
@piraka9011
Copy link
Contributor Author

piraka9011 commented Apr 3, 2020

Remember that the ROSBAG2_ENABLE_ADAPTIVE_QOS_SUBSCRIPTION flag must be enabled.

add_definitions(-DROSBAG2_ENABLE_ADAPTIVE_QOS_SUBSCRIPTION)
# Or
colcon build ... --cmake-args -DROSBAG2_ENABLE_ADAPTIVE_QOS_SUBSCRIPTION

@emersonknapp I could add it temporarily to the CMakeLists to verify it compiles with the action and remove it later.

rosbag2_transport/CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Collaborator

@emersonknapp emersonknapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking a lot better, some structural comments

Signed-off-by: Anas Abou Allaban <[email protected]>
Signed-off-by: Anas Abou Allaban <[email protected]>
Signed-off-by: Anas Abou Allaban <[email protected]>
Signed-off-by: Anas Abou Allaban <[email protected]>
Signed-off-by: Anas Abou Allaban <[email protected]>
Signed-off-by: Anas Abou Allaban <[email protected]>
rosbag2_transport/CMakeLists.txt Outdated Show resolved Hide resolved
rosbag2_transport/CMakeLists.txt Show resolved Hide resolved
rosbag2_transport/CMakeLists.txt Outdated Show resolved Hide resolved
rosbag2_transport/src/rosbag2_transport/recorder.cpp Outdated Show resolved Hide resolved
rosbag2_transport/test/rosbag2_transport/test_record.cpp Outdated Show resolved Hide resolved
rosbag2_transport/test/rosbag2_transport/test_record.cpp Outdated Show resolved Hide resolved
rosbag2_transport/test/rosbag2_transport/test_record.cpp Outdated Show resolved Hide resolved
Signed-off-by: Anas Abou Allaban <[email protected]>
Signed-off-by: Anas Abou Allaban <[email protected]>
@piraka9011
Copy link
Contributor Author

@ros2/aws-oncall @prajakta-gokhale - please run this CI job
Gist: https://gist.githubusercontent.com/piraka9011/42402c78b9ffea330dd6b88a3841b6d2/raw/aed855a901d65a26df9ff5eadc8e452ef6c20a2a/ros2.repos
BUILD args: --packages-up-to rosbag2_transport
TEST args: --packages-select rosbag2_transport
Job: ci_launcher

@piraka9011
Copy link
Contributor Author

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

@emersonknapp
Copy link
Collaborator

The Windows cmake warning seems ephemeral, there is no actual output except mayybe something around spdlog. All tests passed on Windows, which I am not used to seeing. Considering this a clean CI run and merging

@emersonknapp emersonknapp merged commit aa36517 into ros2:master Apr 7, 2020
@piraka9011 piraka9011 deleted the override-subscription-qos branch April 7, 2020 19:44
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.

6 participants