ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How can I combine two xacros with a common root?

asked 2013-08-02 04:33:01 -0500

nemesis gravatar image

updated 2013-11-18 19:32:50 -0500

tfoote gravatar image

I have two XACROs for two robotic arms and I want them in the same XACRO, so that the URDF generated from that XACRO contains both those arms. The issue is that both the arms' XACROs start from a "Root" and it's not allowing me to do that.

So how can I add the two with both having the same "Root" for reference?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-02 08:00:42 -0500

David Lu gravatar image

The short answer is that you can't. You can't have two links with the same name.

Check out This bit of tutorial

edit flag offensive delete link more


Thanks @David Lu. I did see that. And have already started modifying the files accordingly. Only issue is that these files rely on lots of "Properties" and trying to duplicate the information is a bit tedious. I keep getting errors. Working on that. Thanks again.

nemesis gravatar image nemesis  ( 2013-08-02 08:12:14 -0500 )edit

Question Tools

1 follower


Asked: 2013-08-02 04:33:01 -0500

Seen: 2,071 times

Last updated: Aug 02 '13