mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
ae8e83988b
Add inverse dynamics / mass matrix code from DeepMimic, thanks to Xue Bin (Jason) Peng Add example how to use stable PD control for humanoid with spherical joints (see humanoidMotionCapture.py) Fix related to TinyRenderer object transforms not updating when using collision filtering
25 lines
812 B
C++
25 lines
812 B
C++
#ifndef URDF2PHYSX_H
|
|
#define URDF2PHYSX_H
|
|
|
|
#include "Bullet3Common/b3AlignedObjectArray.h"
|
|
#include "Importers/ImportURDFDemo/URDFJointTypes.h"
|
|
|
|
namespace physx
|
|
{
|
|
class PxFoundation;
|
|
class PxPhysics;
|
|
class PxDefaultCpuDispatcher;
|
|
class PxScene;
|
|
class PxCooking;
|
|
class PxArticulationReducedCoordinate;
|
|
};
|
|
|
|
struct UrdfVisualShapeCache2
|
|
{
|
|
b3AlignedObjectArray<UrdfMaterialColor> m_cachedUrdfLinkColors;
|
|
b3AlignedObjectArray<int> m_cachedUrdfLinkVisualShapeIndices;
|
|
};
|
|
|
|
physx::PxArticulationReducedCoordinate* URDF2PhysX(physx::PxFoundation* foundation, physx::PxPhysics* physics, physx::PxCooking* cooking, physx::PxScene* scene, class PhysXURDFImporter& u2p, int flags, const char* pathPrefix, const class btTransform& rootTransformInWorldSpace,struct CommonFileIOInterface* fileIO);
|
|
|
|
#endif //URDF2PHYSX_H
|