Remove undesired assert, it makes pybullet mistakes fail in c++

Shared memory api/pybullet: by default, set joint motors in position PD mode with target 0, to maintain 0 joint angle.
pybullet: allow setJointControlMode(body, link, POSITION_CONTROL,targetPos etc.
This commit is contained in:
erwin coumans
2016-08-18 13:10:28 -07:00
parent 6005e54aa1
commit 5b0253ed47
3 changed files with 94 additions and 28 deletions

View File

@@ -81,7 +81,6 @@ int PhysicsClientSharedMemory::getNumJoints(int bodyIndex) const
return bodyJoints->m_jointInfo.size();
}
btAssert(0);
return 0;
}