Gazebo | Ignition | Community
Ask Your Question

UR5 robot breaks after small collision

asked 2019-02-06 20:38:07 -0600

cambel07 gravatar image

updated 2019-02-12 01:41:21 -0600


I am working with the simulated UR5 with a gripper, and I am trying to simulate the collision between the gripper and some object (for now just a wooden box). The problem is that whenever the robot collides with the box it wildly bounce off and most of the time if the collision is slightly strong then the controller breaks.

You can see it here

I am using the following collision parameters for the wooden box :

    <collision name="collision">

In the case of the robot joints, I define small damping like:

<joint name=...>
  <dynamics damping="0.7" friction="0.0"/>

How can I get a more realistic interaction between the robot and the object? I want the robot to behave stiffer instead of bouncing like crazy at any small collision.

I am using gazebo 7.14.0 with ROS Kinetic in Ubuntu 16.04.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-02-08 00:44:45 -0600

cambel07 gravatar image

Okay, I manage to solve my problem after checking the answer provided for this other post. The problem is that using the PositionJointInterface the simulator somehow cannot estimate the force interaction appropriately at the joints when there is a collision, so it breaks.

What I did, as suggested in the other post, is to implement the EffortJointInterface similarly as done here and carefully find some reasonable PID gains. So now, the simulation works more realistic, it won't break the controller even if it hits some obstacle, you can see it here.

Here is my code in case anyone needs something similar.

edit flag offensive delete link more


Thanks for the post! But the code disappered.

waltergun21 gravatar imagewaltergun21 ( 2023-04-05 09:22:43 -0600 )edit

Question Tools

1 follower


Asked: 2019-02-06 20:38:07 -0600

Seen: 632 times

Last updated: Feb 12 '19