|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DAMotorJoint
Nested Class Summary | |
---|---|
static class |
DAMotorJoint.AMotorMode
angular motor mode numbers |
Nested classes/interfaces inherited from interface org.ode4j.ode.DJoint |
---|
DJoint.DJointFeedback, DJoint.PARAM, DJoint.PARAM_GROUPS, DJoint.PARAM_N |
Field Summary |
---|
Fields inherited from interface org.ode4j.ode.DJoint |
---|
P_OFS_1, P_OFS_2, P_OFS_3 |
Method Summary | |
---|---|
void |
addTorques(double torque1,
double torque2,
double torque3)
Applies torque0 about the AMotor's axis 0, torque1 about the AMotor's axis 1, and torque2 about the AMotor's axis 2. |
double |
getAngle(int anum)
Get the current angle for axis. |
double |
getAngleRate(int anum)
Get the current angle rate for axis anum. |
void |
getAxis(int anum,
DVector3 result)
Get the AMotor axes. |
int |
getAxisRel(int anum)
Get axis. |
DAMotorJoint.AMotorMode |
getMode()
Get the angular motor mode. |
int |
getNumAxes()
Get the number of angular axes that will be controlled by the AMotor. |
double |
getParam(DJoint.PARAM_N parameter)
Get joint parameter. |
double |
getParamFMax()
|
double |
getParamFMax2()
|
double |
getParamFMax3()
|
double |
getParamVel()
|
double |
getParamVel2()
|
double |
getParamVel3()
|
void |
setAngle(int anum,
double angle)
Tell the AMotor what the current angle is along axis anum. |
void |
setAxis(int anum,
int rel,
double x,
double y,
double z)
Set axis. |
void |
setAxis(int anum,
int rel,
DVector3C a)
Set axis. |
void |
setMode(DAMotorJoint.AMotorMode mode)
Set mode. |
void |
setNumAxes(int num)
Set the nr of axes. |
void |
setParam(DJoint.PARAM_N parameter,
double value)
Set joint parameter. |
void |
setParamFMax(double d)
|
void |
setParamFMax2(double d)
|
void |
setParamFMax3(double d)
|
void |
setParamHiStop(double d)
|
void |
setParamHiStop2(double d)
|
void |
setParamHiStop3(double d)
|
void |
setParamLoStop(double d)
|
void |
setParamLoStop2(double d)
|
void |
setParamLoStop3(double d)
|
void |
setParamVel(double d)
|
void |
setParamVel2(double d)
|
void |
setParamVel3(double d)
|
Methods inherited from interface org.ode4j.ode.DJoint |
---|
attach, DESTRUCTOR, disable, enable, getBody, getData, getFeedback, getNumBodies, isEnabled, setData, setFeedback |
Method Detail |
---|
void setMode(DAMotorJoint.AMotorMode mode)
DAMotorJoint.AMotorMode getMode()
void setNumAxes(int num)
num
- 0..3int getNumAxes()
Num can range from 0 (which effectively deactivates the joint) to 3. This is automatically set to 3 in dAMotorEuler mode.
void setAxis(int anum, int rel, double x, double y, double z)
void setAxis(int anum, int rel, DVector3C a)
void getAxis(int anum, DVector3 result)
anum
- selects the axis to change (0,1 or 2).
result
- Each axis can have one of three ``relative orientation'' modes.int getAxisRel(int anum)
For dAMotorEuler mode:
void setAngle(int anum, double angle)
This function should only be called in dAMotorUser mode, because in this mode the AMotor has no other way of knowing the joint angles. The angle information is needed if stops have been set along the axis, but it is not needed for axis motors.
double getAngle(int anum)
double getAngleRate(int anum)
void addTorques(double torque1, double torque2, double torque3)
double getParamFMax()
double getParamFMax2()
double getParamFMax3()
double getParamVel()
double getParamVel2()
double getParamVel3()
void setParamFMax(double d)
void setParamFMax2(double d)
void setParamFMax3(double d)
void setParamLoStop(double d)
void setParamLoStop2(double d)
void setParamLoStop3(double d)
void setParamHiStop(double d)
void setParamHiStop2(double d)
void setParamHiStop3(double d)
void setParamVel(double d)
void setParamVel2(double d)
void setParamVel3(double d)
void setParam(DJoint.PARAM_N parameter, double value)
setParam
in interface DJoint
double getParam(DJoint.PARAM_N parameter)
getParam
in interface DJoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |