Files
bullet3/examples/SharedMemory/physx/URDF2PhysX.h
erwincoumans 42369aa47d PyBullet.changeDynamics: expose jointDamping
PyBullet: Implement a few more APIs of PhysX backend, resetJointState and setJointMotorControl2
allow useMaximalCoordinate=True for PhysX loadURDF (only for single rigid bodies, articulations require reduced coordinates at the moment)
2019-02-04 21:06:43 -08:00

26 lines
827 B
C++

#ifndef URDF2PHYSX_H
#define URDF2PHYSX_H
#include "Bullet3Common/b3AlignedObjectArray.h"
#include "Importers/ImportURDFDemo/URDFJointTypes.h"
namespace physx
{
class PxBase;
class PxFoundation;
class PxPhysics;
class PxDefaultCpuDispatcher;
class PxScene;
class PxCooking;
class PxArticulationReducedCoordinate;
};
struct UrdfVisualShapeCache2
{
b3AlignedObjectArray<UrdfMaterialColor> m_cachedUrdfLinkColors;
b3AlignedObjectArray<int> m_cachedUrdfLinkVisualShapeIndices;
};
physx::PxBase* 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, bool createActiculation);
#endif //URDF2PHYSX_H