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

UR5 self-collisions

asked 2014-10-09 08:46:31 -0500

updated 2014-10-09 09:15:28 -0500

gvdhoorn gravatar image

Hello all,

I'm using ROS and MoveIt! to control an UR5 robot arm. Sometimes the robot arm collides with itself. Is this a bug in moveit or the universal_driver package, or am I doing something wrong?

I use the group.plan() method of the moveit_commander.MoveGroupCommander class (in Python).

I've noticed that the Semantic Robot Description of the UR5 (ur5.srdr) has been changed since version 1.0.4 (indigo). A number of "avoid_collision" statements were added, that seem wrong to me. I think the following lines are incorrect, because the specified links CAN collide with each other:

<disable_collisions link1="forearm_link" link2="shoulder_link" reason="Never" />
<disable_collisions link1="forearm_link" link2="wrist_2_link" reason="Never" />
<disable_collisions link1="forearm_link" link2="wrist_3_link" reason="Never" />
<disable_collisions link1="upper_arm_link" link2="wrist_1_link" reason="Never" />

But even after removing these lines wrist 2 sometimes collides with the forearm. I don't understand why this happens. In rviz it can be seen that the links are colliding, so why is the path valid?

Any information on this topic is very appreciated.

Regards, Wouter

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-09 22:00:55 -0500

This is a bug. There are some open PRs that probably address this, here and here.

edit flag offensive delete link more


Thanks for the info. It seemed that the proposed changed indeed solved the problem (no self-collisions anymore).

wouter_tnl gravatar image wouter_tnl  ( 2014-10-13 03:02:28 -0500 )edit

Question Tools

1 follower


Asked: 2014-10-09 08:46:31 -0500

Seen: 1,200 times

Last updated: Oct 09 '14