Simulate bunny in grasp demo and set collision margin.

This commit is contained in:
yunfeibai
2016-10-12 15:34:45 -07:00
parent 379f2ac933
commit 880ee097fa
3 changed files with 25 additions and 16 deletions

View File

@@ -401,7 +401,6 @@ public:
}
}
/*
if ((m_options & eONE_MOTOR_GRASP)!=0)
{
int fingerJointIndices[2]={0,1};
@@ -417,9 +416,8 @@ public:
m_robotSim.setJointMotorControl(m_gripperIndex,fingerJointIndices[i],controlArgs);
}
}
*/
//m_robotSim.stepSimulation();
m_robotSim.stepSimulation();
}
virtual void renderScene()
{