-
Hello, I have a URDF file containing a single robot arm, but want to do collision checking with 2 instances of the robot arm to reflect my real world setup. I read in #1686 that the best way to do this is to merge the 2 robots into a single collision model, using appendModel. However, I have encountered the following issues:
Is this the correct way to merge models for a multi-robot setup? I am concerned that I have neglected dependencies or that there are strange data structure things that I am unaware of that could cause obscure issues down the road. The code I have given does seem to work for visualization and collision detection, but I don't know if it is the right way intended by the authors of this library. Thank you for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Dear @myersjm, This is the correct way to proceed. You must first change the entities' names, which may conflict when merging the robots. |
Beta Was this translation helpful? Give feedback.
Dear @myersjm,
This is the correct way to proceed. You must first change the entities' names, which may conflict when merging the robots.
Then you can proceed to the merging of the two robots.
In the future, we plan to add helper functions to do that automatically, but this remains to be done.