#include <IKJReconfig.h>
Inheritance diagram for OSCAR::IKJReconfig< JacobianType >:

Public Methods | |
| IKJReconfig (const JointVector &initialJointPosition, JacobianType *fkJacobian, OSCARError &err=DUMMY_ERROR(noError), EqnSolver *solver=0, double maxError=0.1, double rtScale=1000.0) | |
| IKJReconfig (const IKJReconfig &rhs) | |
| virtual bool | GetJointPosition (const Xform &desiredHandMatrix, JointVector &jointPosition) |
| virtual bool | GetJointPosition (const HandPose &desiredHand, JointVector &jointPosition) |
| virtual bool | GetJointVelocity (const HandPose &handVelocity, JointVector &jointVelocitySolution) |
| bool | SetWeights (const Matrix &W) |
| void | ClearWeights () const |
| IKJReconfig & | operator= (const IKJReconfig &rhs) |
| virtual | ~IKJReconfig () |
Protected Methods | |
| virtual bool | inverse () |
| virtual void | updateKinematicState (JointVector &jointPosition) |
| virtual double | calculateErrorMagnitude (const Xform &desired, const Xform *current, HandPose &error) |
| bool | getJointPosition (const Xform &desiredHandMatrix, JointVector &jointPosition, bool activeFlag) |
|
||||||||||||||||||||||||||||||||
|
Constructor. This is the constructor for an object of type IKJReconfig. Use this to create an IKJReconfig object from an FKJacobian object and an initial joint position. This class uses the Jacobian calculations from the FKJacobian class to perform a Resolved Rate inverse solution. As such, all functionality for setting and retrieving tool points and base poses should be done through the FKJacobian object. This class is also designed to use the Active/Inactive functionality present in JointVector and HandPose to perform an inverse. If a joint is declared Inactive, that joint will not move. If an HandPose element is declared Inactive, that coordinate will not be used in the inverse (i.e. it will be free to move).
|
|
||||||||||
|
Copy Constructor. This is the Copy constructor for an object of type IKJReconfig. Use this to construct an IKJReconfig object based on an existing IKJReconfig object.
|
|
|||||||||
|
Destructor. This is the destructor for an object of type IKJReconfig. |
|
||||||||||||||||||||
|
Reimplemented from OSCAR::IKJacobian< JacobianType >. |
|
|||||||||
|
Clear the Weighting Matrix. This method is used to clear the internal Weighting matrix.
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
Get the current joint position for an end-effector position represented by an HandPose object. This method is used to get the current joint position for an end-effector position represented by an HandPose object. Both the inputs (joints) and the ouputs (EEposition) can be set to Active-Inactive in this method. If a joint is declared Inactive, that joint will not move. If an HandPose element is declared Inactive, that coordinate will not be used in the inverse and will be free to move.
Reimplemented from OSCAR::IKJacobian< JacobianType >. |
|
||||||||||||||||
|
Get the current joint position solution for an end-effector position represented by an Xform object. This method is used to get the current joint position solution for an end-effector position represented by an Xform object. This method will assume that all of the ouputs are Active. This method will use the Active/Inactive information from jointPosition in the inverse.
Reimplemented from OSCAR::IKJacobian< JacobianType >. |
|
||||||||||||||||
|
Get the current joint velocity vector from a HandPose velocity vector. This method is used to get the current joint velocity vector from a HandPose velocity vector. Both the inputs (joint velocities) and the ouputs (EE velocities) can be set in this method.
Reimplemented from OSCAR::IKJacobian< JacobianType >. Reimplemented in OSCAR::IKJAvoidLimits< JacobianType >. |
|
|||||||||
|
Reimplemented from OSCAR::IKJacobian< JacobianType >. Reimplemented in OSCAR::IKJAvoidLimits< JacobianType >. |
|
||||||||||
|
Assignment operator. This is the Assignment operator for an object of type IKJReconfig.
|
|
||||||||||
|
Set the Weighting Matrix. This method is used to set the Weighting Matrix to use in the inverse. This matrix should be nxn where n is the number of joints. Any resizing of this matrix that must be done due to Active/Inactive joints will be done internally. Once this matrix has been set, this object will always use that Weighting matrix to perform the inverse unless it is cleared using ClearWeights().
|
|
||||||||||
|
Reimplemented from OSCAR::IKJacobian< JacobianType >. |
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |