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

how to create MoveIt package for robot arm with gripper?

asked 2019-10-31 13:06:41 -0500

Rony_s gravatar image

I am trying to create moveit package for robot arm with gripper but it allows only to add one urdf (I have one urdf for the arm one urdf for the gripper)?
am working on UR5 arm and using robotiq_85_gripper gripper!

I already followed tutorials showing how to create moveit packages only for the arm! but need for arm with installed gripper, any ideas? thanks in advanced

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-10-31 14:33:30 -0500

Alessio gravatar image

just create a new xacro file where you include the two urdfs, something like:

  <?xml version="1.0"?>
  <robot xmlns:xacro="http://ros.org/wiki/xacro" name="robot">

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

  <xacro:include filename="$(find robotiq_85_description)/urdf/robotiq_85_gripper.xacro" />

  </robot>

make sure to connect the first frame of the gripper with the last frame of the UR (should be tool0). Once you load the new urdf with the setup assistant you can see graphically if you have succeeded.

edit flag offensive delete link more

Comments

make sure to connect the first frame of the gripper with the last frame of the UR (should be tool0).

actually, tool0 is not meant for tool attachment, but only represents an "all zeros toolframe".

For the models in ur_description, the ee_link frame may be more appropriate. But be sure to check the orientation of that frame.

gvdhoorn gravatar image gvdhoorn  ( 2019-11-02 09:10:52 -0500 )edit

thanks @Alessio, tool0 was exactly the right link too

Rony_s gravatar image Rony_s  ( 2019-11-03 09:04:58 -0500 )edit

I'm repeating myself, but @Rony_s: tool0 is not the right link to attach tools to.

It will be submitted at a later point, but see Coordinate Frames for Serial Industrial Manipulators for why tool0 should not be used (specifically the flange section (note that ur_description doesn't have flange frames yet, which is why I suggested using ee_link)).

gvdhoorn gravatar image gvdhoorn  ( 2019-11-04 01:31:48 -0500 )edit

@gvdhoorn you have right, tool0 in the case of having gripper is wrong, is found it should be wrist_3_link the last link connected to the gripper, but I think it also depends on how you configure the Moveit package too

Rony_s gravatar image Rony_s  ( 2019-11-05 07:23:52 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-10-31 13:06:41 -0500

Seen: 1,255 times

Last updated: Oct 31 '19