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

feat: set qos options to override durability #250

Merged
merged 2 commits into from
May 20, 2022

Conversation

wep21
Copy link
Contributor

@wep21 wep21 commented May 16, 2022

🎉 New feature

Closes #

Summary

The default qos options don't contain durability policy, so we can't override durability via ros parameter.
This PR sets additional qos policy into qos options to override durability policy.

Test it

ros2 param dump shows durability under qos_overrides.

❯ ros2 param dump /bridge
/bridge:
  ros__parameters:
    qos_overrides:
      /clock:
        publisher:
          depth: 10
          durability: volatile
          history: keep_last
          reliability: reliable

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
@wep21 wep21 requested a review from chapulina as a code owner May 16, 2022 14:15
@osrf-triage osrf-triage added this to Inbox in Core development May 16, 2022
@chapulina chapulina moved this from Inbox to In review in Core development May 16, 2022
@chapulina chapulina added the ROS 2 ROS 2 label May 16, 2022
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Thanks!

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina chapulina merged commit 19b1534 into gazebosim:ros2 May 20, 2022
Core development automation moved this from In review to Done May 20, 2022
chapulina added a commit that referenced this pull request Jun 21, 2022
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Louise Poubel <louise@openrobotics.org>
chapulina added a commit that referenced this pull request Jun 21, 2022
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>

Co-authored-by: Louise Poubel <louise@openrobotics.org>

Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ROS 2 ROS 2
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants