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

Use same QoS for all topic pub/subs #161

Merged
merged 7 commits into from Jan 15, 2024
Merged

Conversation

Yadunund
Copy link
Member

This PR ensures that all topic publishers and subscriptions are configured with the same QoS settings. Given that the history depth for the turtle1/pose subscription was previously 1, I would observe the draw_square executable would sometimes wait indefinitely if the message was dropped. This could happen if the Default reliability is BEST_EFFORT instead of RELIABLE. With the changes, the reliability is RELIABLE and all pub/subs have compatible settings.

@Yadunund Yadunund requested review from clalancette and removed request for ahcorde January 15, 2024 05:29
Signed-off-by: Yadunund <yadunund@openrobotics.org>
Signed-off-by: Yadunund <yadunund@openrobotics.org>
turtlesim/include/turtlesim/qos.hpp Outdated Show resolved Hide resolved
turtlesim/include/turtlesim/qos.hpp Outdated Show resolved Hide resolved
turtlesim/include/turtlesim/qos.hpp Outdated Show resolved Hide resolved
turtlesim/src/turtle.cpp Show resolved Hide resolved
Yadunund and others added 4 commits January 15, 2024 18:18
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@Yadunund Yadunund requested a review from ahcorde January 15, 2024 10:19
Co-authored-by: Yadu <yadunund@gmail.com>
@ahcorde ahcorde merged commit 78a96ae into rolling Jan 15, 2024
2 checks passed
@ahcorde ahcorde deleted the yadu/fix_qos_compatibility branch January 15, 2024 12:42
@clalancette
Copy link

Did CI get run on this PR?

@ahcorde
Copy link

ahcorde commented Jan 16, 2024

my bad, here we go:

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

@Yadunund
Copy link
Member Author

I think CI is failing because the branch was deleted. I've triggered a rebuild after restoring the branch.

@Yadunund Yadunund restored the yadu/fix_qos_compatibility branch January 16, 2024 10:07
@ahcorde
Copy link

ahcorde commented Jan 16, 2024

Thank you @Yadunund, all good @clalancette

@ahcorde ahcorde deleted the yadu/fix_qos_compatibility branch January 16, 2024 15:13
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

3 participants