Strange physics behavior while grasping

asked 2017-06-15 10:37:22 -0500

hamzamerzic gravatar image

I have a grasping simulation set up where I torque control the Barrett hand and try to grasp a simple object such as the cylinder (as shown in the video here). These are the physics parameters that I am using:

<?xml version="1.0" encoding="UTF-8"?>
<sdf version="1.5">
  <world name="default">
    <physics type="ode">
      <gravity>0 0 0</gravity>
    <!-- A global light source -->
      <pose>0.0 0.0 0.0 0 0 0</pose>

As you can see, the gravity is disabled and only the contact forces are acting on the object. Nevertheless, the object moves in a opposite direction. The model of the hand has all inertia parameters filled out (which I double checked in MeshLab). I have tried playing around with kp and kd parameters for each link, as well as changing mu and mu2 parameters and simulator step size, and in each case the results were the same.

I also opened an issue to gazebo as this seems like an obvious bug, but would still like to check if any of you faced a similar issue.

edit retag flag offensive close merge delete