mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
05bf86d95f
add MultiBody Custom Creation example, to show how to import data from a URDF file and fill up your own data structures. add btMultiBody::setBaseWorldTransform method todo: fix cmake build, this patch is premake only
29 lines
665 B
C++
29 lines
665 B
C++
#ifndef _URDF2BULLET_H
|
|
#define _URDF2BULLET_H
|
|
#include "LinearMath/btAlignedObjectArray.h"
|
|
#include "LinearMath/btTransform.h"
|
|
#include <string>
|
|
class btVector3;
|
|
class btTransform;
|
|
class btMultiBodyDynamicsWorld;
|
|
class btTransform;
|
|
|
|
|
|
class URDFImporterInterface;
|
|
class MultiBodyCreationInterface;
|
|
|
|
|
|
void printTree(const URDFImporterInterface& u2b, int linkIndex, int identationLevel=0);
|
|
|
|
|
|
void ConvertURDF2Bullet(const URDFImporterInterface& u2b,
|
|
MultiBodyCreationInterface& creationCallback,
|
|
const btTransform& rootTransformInWorldSpace,
|
|
btMultiBodyDynamicsWorld* world,
|
|
bool createMultiBody,
|
|
const char* pathPrefix);
|
|
|
|
|
|
#endif //_URDF2BULLET_H
|
|
|