I am trying to add end_effector to ur_5 robot. I am using fmauch_universal_robot and robotiq from github. This is how is write macro.xacro. The error I get is : Two root link found. How to solve this, IF someone has working xacro file please post.

asked 2022-05-11 16:07:39 -0600

madhav gravatar image

<robot <a="" href="http://xmlns:xacro="http://wiki.ros.org/xacro">xmlns:xacro="http://wiki.ros.org/xacro" name="ur3_ee"></robot>

<xacro:include filename="$(find ur_description)/urdf/ur3.xacro"/>

<xacro:include filename="$(find robotiq_2f_85_gripper_visualization)/urdf/robotiq_arg2f_85_model.xacro"/>

<xacro:macro name="ur3_ee">

<xacro:ur3_robot/>

<joint name="ur3_gripper_joint" type="fixed">

<origin xyz="0 0 0" rpy="0 0 0" />


<parent 
      link="tool0" />
<child
       link="gripper_arg2f_base_link" />

</joint>

<xacro:robotiq_arg2f_base_link/> </xacro:macro>

</robot>

edit retag flag offensive close merge delete