Page 1 of 1

Grasp ball but always fall down

Posted: 27 Nov 2021, 06:14
by wozxfdha
Hi,

I use RG2 to grasp balls, but it always falls because of gravity. How should I set the firction or is there any other solution besides attach?

Thanks

Re: Grasp ball but always fall down

Posted: 29 Nov 2021, 17:27
by coppelia
Hello,

grasping is not an easy task. Make sure to have high friction parameters for the ball and the various gripper elements. Additionally, try to adjust some of the gripper parameters (e.g. max. force of the open/close joint openCloseJoint, or the target velocity).
The problematic aspect of a ball is also that theoretically, there would be only 2 contact points, one on each side of the ball. You can try to mitigate this by adjusting the material properties (e.g. restitution, custom collision margin, Soft CFM, etc.). You can also try to adjust the fingers of the gripper, e.g. so that each finger has 4 smaller cuboids that could better hold a sphere.

Cheers