Trees | Index | Help |
|
---|
Module ode |
|
Python Open Dynamics Engine (ODE) wrapper.
This module contains classes and functions that wrap the functionality of the Open Dynamics Engine (ODE) which can be found at http://opende.sourceforge.net.
There are the following classes and functions:Classes | |
---|---|
AMotor |
AMotor joint. |
BallJoint |
Ball joint. |
Body |
The rigid body class encapsulating the ODE body. |
Contact |
This class represents a contact between two bodies in one point. |
ContactJoint |
Contact joint. |
FixedJoint |
Fixed joint. |
GeomBox |
Box geometry. |
GeomCapsule |
Capped cylinder geometry. |
GeomCCylinder |
Capped cylinder geometry. |
GeomCylinder |
Plain cylinder geometry. |
GeomObject |
This is the abstract base class for all geom objects. |
GeomPlane |
Plane geometry. |
GeomRay |
Ray object. |
GeomSphere |
Sphere geometry. |
GeomTransform |
GeomTransform. |
GeomTriMesh |
TriMesh object. |
HashSpace |
Multi-resolution hash table space. |
Hinge2Joint |
Hinge2 joint. |
HingeJoint |
Hinge joint. |
Joint |
Base class for all joint classes. |
JointGroup |
Joint group. |
LMotor |
LMotor joint. |
Mass |
Mass parameters of a rigid body. |
Plane2DJoint |
Plane-2D Joint. |
QuadTreeSpace |
Quadtree space. |
SimpleSpace |
Simple space. |
SliderJoint |
Slider joint. |
SpaceBase |
Space class (container for geometry objects). |
TriMeshData |
This class stores the mesh data. |
UniversalJoint |
Universal joint. |
World |
Dynamics world. |
Function Summary | |
---|---|
bool |
Return True if the two bodies are connected together by a joint, otherwise return False. |
Deallocate some extra memory used by ODE that can not be deallocated using the normal destroy functions. | |
contacts |
Generate contact information for two objects. |
Calls the callback for all potentially intersecting pairs that contain one geom from geom1 and one geom from geom2. | |
Space factory function. |
Function Details |
---|
areConnected(body1, body2)Return True if the two bodies are connected together by a joint, otherwise return False.
|
CloseODE()Deallocate some extra memory used by ODE that can not be deallocated using the normal destroy functions. |
collide(geom1, geom2)Generate contact information for two objects. Given two geometry objects that potentially touch (geom1 and geom2), generate contact information for them. Internally, this just calls the correct class-specific collision functions for geom1 and geom2. [flags specifies how contacts should be generated if the objects touch. Currently the lower 16 bits of flags specifies the maximum number of contact points to generate. If this number is zero, this function just pretends that it is one - in other words you can not ask for zero contacts. All other bits in flags must be zero. In the future the other bits may be used to select other contact generation strategies.] If the objects touch, this returns a list of Contact objects, otherwise it returns an empty list.
|
collide2(geom1, geom2, arg, callback)Calls the callback for all potentially intersecting pairs that contain one geom from geom1 and one geom from geom2.
|
Space(...)Space factory function. Depending on the type argument this function either returns a SimpleSpace (type=0) or a HashSpace (type=1). This function is provided to remain compatible with previous versions of PyODE where there was only one Space class.
>>> space = Space(type=0) # Create a SimpleSpace
>>> space = Space(type=1) # Create a HashSpace
|
Variable Details |
---|
AMotorEuler
|
AMotorUser
|
ContactApprox0
|
ContactApprox1
|
ContactApprox1_1
|
ContactApprox1_2
|
ContactBounce
|
ContactFDir1
|
ContactMotion1
|
ContactMotion2
|
ContactMu2
|
ContactSlip1
|
ContactSlip2
|
ContactSoftCFM
|
ContactSoftERP
|
environment
|
Infinity
|
paramBounce
|
ParamBounce
|
ParamBounce2
|
ParamBounce3
|
ParamCFM
|
paramCFM
|
ParamCFM2
|
ParamCFM3
|
ParamFMax
|
paramFMax
|
ParamFMax2
|
ParamFMax3
|
ParamFudgeFactor
|
paramFudgeFactor
|
ParamFudgeFactor2
|
ParamFudgeFactor3
|
ParamGroup
|
ParamHiStop
|
paramHiStop
|
ParamHiStop2
|
ParamHiStop3
|
paramLoStop
|
ParamLoStop
|
ParamLoStop2
|
ParamLoStop3
|
paramStopCFM
|
ParamStopCFM
|
ParamStopCFM2
|
ParamStopCFM3
|
ParamStopERP
|
paramStopERP
|
ParamStopERP2
|
ParamStopERP3
|
paramSuspensionCFM
|
ParamSuspensionCFM
|
ParamSuspensionCFM2
|
ParamSuspensionCFM3
|
ParamSuspensionERP
|
paramSuspensionERP
|
ParamSuspensionERP2
|
ParamSuspensionERP3
|
paramVel
|
ParamVel
|
ParamVel2
|
ParamVel3
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 17:54:12 2007 | http://epydoc.sf.net |