-
Notifications
You must be signed in to change notification settings - Fork 581
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
load robot_description from other namespace #3269
Conversation
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.
Thanks! For consistency, would it make more sense to instead create temp_node
with the parent node's namespace using this constructor?
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #3269 +/- ##
==========================================
- Coverage 45.94% 45.56% -0.37%
==========================================
Files 716 716
Lines 62393 62384 -9
Branches 7543 7544 +1
==========================================
- Hits 28659 28418 -241
- Misses 33568 33799 +231
- Partials 166 167 +1 ☔ View full report in Codecov by Sentry. |
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.
Thanks for the update!
This works, but I am now thinking whether this was intentionally designed to not absorb the namespace of the parent node for some reason?
@henningkayser @sjahr Do you guys happen to know anything about this / is this change fine?
I don't know sorry. |
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 makes a lot of sense here. By default, the namespace would be empty for both the parent node and the temp_node. If someone wants to namespace he parent node, I would expect that also all interfaces use the corresponding namespace. robot_description might be special in a way, but it's still necessary to allow namespacing to prevent conflicts.
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.
Thanks for confirming, @henningkayser!
* load robot_description from other namespace * change temp_node's namespace --------- Co-authored-by: Sebastian Jahr <[email protected]> (cherry picked from commit af6d762) # Conflicts: # moveit_ros/planning/rdf_loader/src/synchronized_string_parameter.cpp
* load robot_description from other namespace * change temp_node's namespace --------- Co-authored-by: Sebastian Jahr <[email protected]> (cherry picked from commit af6d762)
(cherry picked from commit af6d762) Co-authored-by: RLi43 <[email protected]>
(cherry picked from commit af6d762) Co-authored-by: RLi43 <[email protected]>
Description
Add namespace to the topic to read
robot_description
Checklist