Home | Tutorials | Wiki | Issues
Ask Your Question
2

Friction in the gripper not working, objects slipping

asked 2019-04-02 06:08:50 -0500

nzlz gravatar image

Hi everyone,

I am sorry I have to post a new "gripper slipping objects" kind of issue, but I can't manage to solve this problem. The issue I have is that objects are slipping from the gripper, meaning the friction is not applied correctly.

image description

The code of the plugin is available in here.

The urdf I'm using is not the one available in that package, but the one of the full MARA robot with the gripper, this one.

I can push the code I'm using to test this somewhere is someone is willing to test it using my same approach.

The plugin uses a custom interpolation and updates grippers position in gazebo via SetPositionTarget(..) from a JointController. We also use pid values and update them using the SetPositionPID(..) whenever a service call is received (with the goal pose of the gripper). I tried to update on every gazebo connection update event without any improvement.

The goal is that the 2 (left and right) inner fingers grab things, so the following changes are mostly related to those 2 links. Things I tried without any improvement.

  1. Add dynamics tag to the urdf in grippers joints. Adding friction and damping, also trying to tune values.
  2. Add mu1 and mu2 contact coefficients via gazebo tag in the urdf, and directly under the link element (surface not recognized if done this way.)
  3. Increase the force applied by the 2 joints, which is calculated automatically using the position pid controller. Objects still slipping.
  4. Improved inertias in both fingers so that using the gzclient's inertia visualization tool I see a pink box slightly covering the finger (link).
  5. Added friction or increased it to the element I want to grab, setting mus to even super high values like 100000.
  6. ODE and Bullet, none working.
  7. Tried tuning physics parameters, won't go into much details here, basically I tried everything I could think of.

My last bet is that there is a problem with the contacts, which are not enough. Could this be the big issue? Maybe we need to replace our contact mesh for the fingers with a simple box? In the image above you can see how only the upper part of the box is being highlighted as a contact. contacts gif


If nothing works I could try to attach the finger link to the contacting object via plugin, and break the parent-child relation when the object is released. Obviously this is a complete mess and should not be done this way..

Any kind of advice is much appreciated.

Nestor

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-04-09 14:31:27 -0500

updated 2019-04-09 14:35:47 -0500

A couple suggestions:

  1. This problem may be caused by the PositionJointInterface (See this Gazebo Answer).
    What happens if you use an EffortJointInterface for the grippers?
  2. Try giving your gripper contact links a small <minDepth> value of say 0.002-0.003 and a <maxVel> value of 0. This may provide more consistent contact between the gripper links and the object being grasped.

<gazebo reference="GRIPPER_LINK_NAME">  
   <minDepth>0.003</minDepth>  
   <maxVel>0</maxVel>  
 </gazebo>
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2019-04-02 06:08:50 -0500

Seen: 220 times

Last updated: Apr 09