|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.robotics.engine.JRoboOp javax.robotics.engine.controllers.ResolvedRateAcceleration
public class ResolvedRateAcceleration
This class implements Resolved Rate Acceleration controller. The
scheme of the control:
the dynamics model of robot:
B(q)*q'' + n(q,q') = u, n(q,q') = C(q,q')*q'+ Fq'+ g(q)
the resultant error equation: e'' + Kd*e' + Kp*e = 0
Field Summary |
---|
Fields inherited from class javax.robotics.engine.JRoboOp |
---|
ID, Version |
Constructor Summary | |
---|---|
ResolvedRateAcceleration(Robot robot,
double Kdp,
double Kpp)
Resolved Rate Acceleration controller class constructor with positional jacobian. |
|
ResolvedRateAcceleration(Robot robot,
double Kdp,
double Kpp,
double Kdo,
double Kpo)
Resolved Rate Acceleration controller class constructor. |
Method Summary | |
---|---|
short |
getID()
Gets Controller class ID. |
RVector3d |
getOrientationError()
Gets the current orientation error. |
RVector3d |
getPositionError()
Gets the position error. |
short |
getRobotID()
Gets Robot class ID linked to controller. |
double[] |
torqueCmd(double[] pdpp,
double[] pdp,
double[] pd,
double[] wdp,
double[] wd,
double[] quatd)
Sets the output torque for a desired end effector: acceleration, velocity, position, angular acceleration, angular velocity, angular position. |
RVector |
torqueCmd(RVector3d pdpp,
RVector3d pdp,
RVector3d pd)
Sets the output torque for a desired end effector: acceleration, velocity, position. |
RVector |
torqueCmd(RVector3d pdpp,
RVector3d pdp,
RVector3d pd,
RVector3d wdp,
RVector3d wd,
Quaternion quatd)
Sets the output torque for a desired end effector: acceleration, velocity, position, angular acceleration, angular velocity, angular position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResolvedRateAcceleration(Robot robot, double Kdp, double Kpp, double Kdo, double Kpo)
robot
- Robot class.Kdp
- end effector velocity error gainKpp
- end effector position error gainKdo
- end effector orientation angular rate gainKpo
- end effector orientation error gainpublic ResolvedRateAcceleration(Robot robot, double Kdp, double Kpp)
robot
- Robot class.Kdp
- end effector velocity error gainKpp
- end effector position error gainMethod Detail |
---|
public final short getID()
getID
in interface Controller
getID
in class JRoboOp
public final short getRobotID()
Controller
getRobotID
in interface Controller
public RVector3d getPositionError()
EndEffController
getPositionError
in interface EndEffController
public RVector3d getOrientationError()
EndEffController
η(q)&epsilond - &etad&epsilon(q) - S(&epsilond)&epsilon(q)
where η and ε are the vector and the scalar components of quaternion respectively.
getOrientationError
in interface EndEffController
public double[] torqueCmd(double[] pdpp, double[] pdp, double[] pd, double[] wdp, double[] wd, double[] quatd)
pdpp
- desired accelerationpdp
- desired velocitypd
- desired positionwdp
- desired angular accelerationwd
- desired angular velocityquatd
- desired vector angular position: quaternion (s,v1,v2,v3)
public RVector torqueCmd(RVector3d pdpp, RVector3d pdp, RVector3d pd, RVector3d wdp, RVector3d wd, Quaternion quatd)
torqueCmd
in interface EndEffController
pdpp
- desired accelerationpdp
- desired velocitypd
- desired positionwdp
- desired angular accelerationwd
- desired angular velocityquatd
- desired vector angular position: quaternion (s,v1,v2,v3)
public RVector torqueCmd(RVector3d pdpp, RVector3d pdp, RVector3d pd)
torqueCmd
in interface EndEffController
pdpp
- desired accelerationpdp
- desired velocitypd
- desired position
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |