Trees | Index | Help |
|
---|
Module ode :: Class AMotor |
|
object
--+ |Joint
--+ | AMotor
AMotor joint.
Constructor:AMotor(world, jointgroup=None)
Method Summary | |
---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
Applies torques about the AMotor's axes. | |
float |
Return the current angle for axis anum. |
float |
Return the current angle rate for axis anum. |
Get an AMotor axis. | |
int |
Get the relative mode of an axis. |
Return the angular motor mode (AMotorUser or AMotorEuler). | |
int |
Get the number of angular axes that are controlled by the AMotor. |
getParam(...)
| |
Tell the AMotor what the current angle is along axis anum. | |
Set an AMotor axis. | |
Set the angular motor mode. | |
Set the number of angular axes that will be controlled by the AMotor. | |
setParam(...)
| |
Inherited from Joint | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__setattr__('name', value) <==> x.name = value | |
Attach the joint to some new bodies. | |
Body |
Return the bodies that this joint connects. |
(force1, torque1, force2, torque2) |
Get the forces/torques applied by the joint. |
Create a feedback buffer. | |
Notify the joint object about an external destruction of the ODE joint. | |
Inherited from object | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
addTorques(torque0, torque1, torque2)Applies torques about the AMotor's axes.
|
getAngle(anum)Return the current angle for axis anum.
|
getAngleRate(anum)Return the current angle rate for axis anum.
|
getAxis(anum)Get an AMotor axis.
|
getAxisRel(anum)Get the relative mode of an axis.
|
getMode()Return the angular motor mode (AMotorUser or AMotorEuler). |
getNumAxes()Get the number of angular axes that are controlled by the AMotor.
|
setAngle(anum, angle)Tell the AMotor what the current angle is along axis anum.
|
setAxis(anum, rel, axis)Set an AMotor axis. The anum argument selects the axis to change (0,1 or 2). Each axis can have one of three "relative orientation" modes, selected by rel: 0: The axis is anchored to the global frame. 1: The axis is anchored to the first body. 2: The axis is anchored to the second body. The axis vector is always specified in global coordinates regardless of the setting of rel.
|
setMode(mode)Set the angular motor mode. mode must be either AMotorUser or AMotorEuler.
|
setNumAxes(num)Set the number of angular axes that will be controlled by the AMotor. num may be in the range from 0 to 3.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 4 17:54:12 2007 | http://epydoc.sf.net |