enable pdControlPlugin by default (requires pdControlPlugin.cpp and b3RobotSimulatorClientAPI_NoDirect.cpp)

add pdControl.py example, make pdControlPlugin functional
reduce memory usage
fix examples/pybullet/gym/pybullet_data/random_urdfs/948/948.urdf, fixes issue #1704
This commit is contained in:
erwincoumans committed 2018-06-05 15:59:01 -07:00
1 parent 49eb83c24e
commit b6f5cb4c34
23 files changed
+286 -179

No files matched your search

@@ -595,7 +595,7 @@ void ConvertURDF2BulletInternal(
}
} else
{
if (cache.m_bulletMultiBody->getBaseMass()==0)
if (cache.m_bulletMultiBody->getBaseMass()==0 && cache.m_bulletMultiBody->getNumLinks()==0)
{
//col->setCollisionFlags(btCollisionObject::CF_KINEMATIC_OBJECT);
col->setCollisionFlags(btCollisionObject::CF_STATIC_OBJECT);