10 #ifndef ODE_WORLD_H_INCLUDED 11 #define ODE_WORLD_H_INCLUDED 14 #include <hrpCorba/ModelLoader.hh> 102 void calcNextState(OpenHRP::CollisionSequence& corbaCollisionSequence);
void useInternalCollisionDetector(bool use)
OpenHRP::CollisionSequence collisions
void clearExternalForces()
static const dReal SURFACE_MU
bool useInternalCollisionDetector_
virtual void calcNextState()
compute forward dynamics and update current state
static const dReal CONTACT_FDIR1_X
std::vector< LinkPair > LinkPairArray
void addBody(OpenHRP::BodyInfo_ptr body, const char *name)
add body to this world
const Vector3 & getGravityAcceleration()
get gravity acceleration
static const dReal SURFACE_SOFT_CFM
png_infop png_charpp name
static const dReal SURFACE_MOTION2
static const int COLLISION_MAX_POINT
static const dReal SURFACE_MU2
void addCollisionPair(OpenHRP::LinkPair &linkPair)
void initialize()
initialize this world. This must be called after all bodies are registered.
static const bool USE_QUICKSTEP
static const dReal CONTACT_SURFACE_LAYER
static const int QUICKSTEP_NUM_ITERATIONS
boost::shared_ptr< Body > BodyPtr
boost::shared_ptr< ODE_ForwardDynamics > ODE_ForwardDynamicsPtr
BodyPtr body(int index)
get body by index
void setGravityAcceleration(const dVector3 &gravity)
set gravity acceleration
static const int SURFACE_MODE
static const dReal SURFACE_BOUNCE
static const dReal SURFACE_SOFT_ERP
static const dReal SURFACE_SLIP1
static const dReal CONTACT_FDIR1_Z
static const dReal SURFACE_SLIP2
static const dReal CONTACT_MAX_CORRECTING_VEL
static const dReal SURFACE_BOUNCE_VEL
static const dReal SURFACE_MOTION1
static const dReal CONTACT_FDIR1_Y
dJointGroupID contactgroupId
dJointGroupID getJointGroupID()
static void ODE_collideCallback(void *data, dGeomID o1, dGeomID o2)