init ERP for second btMultiBodyJointMotor,

comment-out debug printf in Kuka IK example
This commit is contained in:
Erwin Coumans
2016-09-11 05:54:47 +01:00
parent c5d775a635
commit 82661d98cd
2 changed files with 7 additions and 3 deletions

View File

@@ -58,7 +58,8 @@ btMultiBodyJointMotor::btMultiBodyJointMotor(btMultiBody* body, int link, int li
m_desiredVelocity(desiredVelocity),
m_desiredPosition(0),
m_kd(1.),
m_kp(0)
m_kp(0),
m_erp(1)
{
btAssert(linkDoF < body->getLink(link).m_dofCount);