Optional frame prefix when appending models #1958
stephane-caron
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the use case of attaching two copies of the same arm to a box:
This example fails at the second
appendModel
with:The reason for this is that loading a URDF always creates models with a joint named "root_joint"; and also, every model includes a "universe" joint:
Is there already a good way to address this use case?
Quick and dirty way
A quick and dirty way that seems to work:
Then call
appendModels
as above.One idea would be to add a
prefix
argument toappendModels
that would take care of that. What do you think?Beta Was this translation helpful? Give feedback.
All reactions