-
Notifications
You must be signed in to change notification settings - Fork 536
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
Replaced numbers with SystemDefaultsQos() #2271
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2271 +/- ##
==========================================
+ Coverage 50.50% 50.50% +0.01%
==========================================
Files 386 386
Lines 31732 31736 +4
==========================================
+ Hits 16023 16026 +3
- Misses 15709 15710 +1
☔ View full report in Codecov by Sentry. |
Thanks for starting this @Shobuj-Paul. Ping me once the PR is ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good so far
Good question 🤔 Can you add a comment to explain this choice (if you know it)? Otherwise just add a |
Understood, I shall comment on all such instances. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good so far 👍 Thank you! I'll approve it once we've got an answer regarding rclcpp::QoS(1).transient_local().reliable()
moveit_ros/planning/rdf_loader/src/synchronized_string_parameter.cpp
Outdated
Show resolved
Hide resolved
I think you can explicitly set it via https://docs.ros2.org/foxy/api/rclpy/api/qos.html but if you just don't set it like in the tutorial, it seems to default to the system default. Can you check if that works? @peterdavidfagan Do you have any advice here? |
Yep, this looks good. I'll leave the python nodes as they are for now, since this kind of depth setting seems to be documented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good cleanup. Thank you!
(cherry picked from commit 5506dd5)
(cherry picked from commit 5506dd5) Co-authored-by: Shobuj Paul <[email protected]>
Description
This PR replaces "magic numbers" with SystemDefaultsQos(), making it more readable and possibly more stable.
Fixes #2225
Checklist