|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.robotics.engine.clik.JointStrokeConstraint
public class JointStrokeConstraint
This class implements the constraint on joints stroke.
where
Constructor Summary | |
---|---|
JointStrokeConstraint(double k0,
RVector qMax,
RVector qMin)
Define the constraint with minimum and maximum position for each joint and the constraint gain. |
Method Summary | |
---|---|
RVector |
compute(RVector q)
Computes the constraint velocity function. |
double |
getK0()
Gets the velocity constraint gain. |
void |
setK0(double k0)
Sets the velocity constraint gain. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JointStrokeConstraint(double k0, RVector qMax, RVector qMin)
k0
- the constraint velocity gain.qMax
- the vector of maximum positions.qMin
- the vector of minimum positions.Method Detail |
---|
public final double getK0()
ConstraintVelocity
getK0
in interface ConstraintVelocity
public final void setK0(double k0)
ConstraintVelocity
setK0
in interface ConstraintVelocity
k0
- the gain value to set.public RVector compute(RVector q)
compute
in interface ConstraintVelocity
q
- the joints position.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |