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

Initialize QoSProfile with values from rmw_qos_profile_default #356

Merged
merged 6 commits into from
May 23, 2019

Conversation

emersonknapp
Copy link
Contributor

To match behavior in rclcpp.

Fixes #353

Would like some feedback on the approach, it feels a little kludgy. It's an awkward situation though, where the default profile values we want are only exposed via a QoSProfile instance from _rclpy.c, so we have a circular dependency.

Signed-off-by: Emerson Knapp eknapp@amazon.com

…tch behavior from rclcpp

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp
Copy link
Contributor Author

@thomas-moulard - please run this CI job
Gist: https://gist.githubusercontent.com/emersonknapp/a3bb0ea80650afa69910ebe9d0ac4a06/raw/be2aecf41e6fdfd09e8c41969684627ac4ae7ce0/ros2.repos
BUILD args: --packages-up-to rclpy
TEST args: --packages-select rclpy
Job: ci_launcher

@thomas-moulard
Copy link
Contributor

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

rclpy/rclpy/qos.py Outdated Show resolved Hide resolved
rclpy/rclpy/qos.py Show resolved Hide resolved
rclpy/rclpy/qos.py Outdated Show resolved Hide resolved
Emerson Knapp added 2 commits May 22, 2019 10:42
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
rclpy/rclpy/qos.py Outdated Show resolved Hide resolved
@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label May 23, 2019
Emerson Knapp added 2 commits May 23, 2019 11:50
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM with another round of CI

rclpy/test/test_qos.py Outdated Show resolved Hide resolved
@jacobperron
Copy link
Member

jacobperron commented May 23, 2019

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

Edit: RViz test failures can't be related since there's no connection to rclpy.

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@jacobperron jacobperron merged commit d5cc7dc into ros2:master May 23, 2019
@emersonknapp emersonknapp deleted the default-qos branch May 23, 2019 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in review Waiting for review (Kanban column)
Projects
None yet
5 participants