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

UR5e + 2F_85 gripper moveit configuration

asked 2022-06-18 13:48:14 -0500

francirrapi gravatar image

updated 2022-06-18 15:37:31 -0500

Hi everyone,

I am using the default setup of universal robots repo (calibration-devel branch of fmauch) and the ur_robot_driver (melodic branch) of Universal_Robots_ROS_Driver. As I have an attached gripper (Robotiq 2f_85 model) to my robot and I need the robot to do some tasks with Inverse Kinematics, it would be perfect to have a moveit configuration with the merge of both robot and gripper.

I saw that universal robot repo doesn’t provide any configuration like this unfortunately, can you please explain me how to do it properly or can you share an already existing package in case there is one?

Or do you know a way to modify properly the URDF file with a new frame for the gripper? In such a way that the IK works wrt to that frame instead of tool0?

Thank you very much!! I would appreciate a lot your help!!!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2022-06-18 20:44:27 -0500

fvd gravatar image

updated 2022-06-20 19:04:18 -0500

This repository uses two UR5e with Robotiq grippers to perform assembly tasks. You can check its moveit_config and description package to see how to connect the robot and gripper.

The steps in short:

  • Add the robot and gripper into a URDF scene
  • (Optional) In the URDF, define a frame called gripper_tip as a child of the robot's end-effector or flange link, offset it to where the tip of the gripper would be when closed. This is useful to define your IK chain later.
  • Run MoveIt Setup Assistant, following the tutorial and setting the end effector link to your gripper_tip frame
edit flag offensive delete link more

Comments

Thank you very much for you answer @fvd!! I saw the files in this repo but did not understand very well how to add a TF frame called gripper_tip to the flange on my case. I saw the that there is a similar definition of this in line 564 of a_bot.urdf file, but did not understand how and if I have to create this file manually or it is generated automatically from moveit_setup_assistant after the 1) point of the steps you mentioned. Or this has to be done in the 1) point at the end of URDF scene with both robots?

francirrapi gravatar image francirrapi  ( 2022-06-20 03:43:20 -0500 )edit

You need to add the frame to the URDF. When you run the Setup Assistant, you can set that frame as the end effector link or the tip of your IK chain.

fvd gravatar image fvd  ( 2022-06-20 19:05:04 -0500 )edit

Hi @fvd, thanks for your answer. I am currently facing the same issue. Considering that target pose, now, corresponds to the tip of the gripper instead of the flange of the UR5, does it also guarantee safety of gripper colliding with robot surfaces, the generated plans are safe by construction?

zahid990170 gravatar image zahid990170  ( 2023-04-13 11:33:25 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-06-18 13:48:14 -0500

Seen: 1,025 times

Last updated: Jun 20 '22