Merge pull request #1054 from erwincoumans/master

pybullet setup.py / pip support for Windows, Linux and Mac! just run 'pip install pybullet' and wait until all compiled (like numpy, it is mainly source, except for a few wheels Mac 2.7 and Win32 3.5). Expose URDF_USE_SELF_COLLISION flag.
This commit is contained in:
erwincoumans
2017-04-04 23:36:32 +00:00
committed by GitHub
16 changed files with 1097 additions and 383 deletions

View File

@@ -1973,6 +1973,10 @@ bool PhysicsServerCommandProcessor::loadUrdf(const char* fileName, const btVecto
mb->setUserIndex2(bodyUniqueId);
bodyHandle->m_multiBody = mb;
if (flags & URDF_USE_SELF_COLLISION)
{
mb->setHasSelfCollision(true);
}
createJointMotors(mb);