#include <IKJTranspose.h>
Inheritance diagram for OSCAR::IKJTranspose:

Public Methods | |
| IKJTranspose (JointVector &initialJointPosition, FKJacobian *fkJacobian, double errorBound=0.1) | |
| IKJTranspose (const IKJTranspose &rhs) | |
| IKJTranspose & | operator= (const IKJTranspose &rhs) |
| virtual | ~IKJTranspose () |
| bool | GetJointPosition (const HandPose &desiredHand, JointVector &jointPosition) |
| bool | GetJointPosition (const Xform &desiredHand, JointVector &jointPosition) |
| bool | SetWeightMatrix (Matrix &weights) |
| bool | SetErrorBound (double &errorBound) |
| bool | SetMaxIterations (int &iterations) |
Protected Methods | |
| double | calculateErrorMagnitude (const HandPose &desiredHand, const HandPose ¤tHand, HandPose &error_hand) |
Protected Attributes | |
| FKJacobian * | fkJDummy |
| unsigned int | dof |
| Matrix | currentJacobian |
| Matrix | currentJacobianTranspose |
| Vector | currentJoints |
| Vector | jtTimesE |
| HandPose | xdMinusXc |
| Vector | weightedXdXc |
| Matrix | weightMatrix |
| unsigned int | maxIterations |
| unsigned int | iterations |
| double | errorbound |
|
||||||||||||||||
|
Constructor. This is the constructor for an object of type IKJTranspose. Use this Constructor to create an IKJTranspose object from an FKJacobian object and an initial joint position. This class uses the Jacobian calculations from the FKJacobian class to perform a Jacobian Transpose inverse solution. As such, all functionality for setting and retrieving tool points and base poses should be done through the FKJacobian object.
|
|
|
Copy Constructor. This is the Copy constructor for an object of type IKJTranspose. Use this to construct an IKJTranspose based on an existing IKJacobian object.
|
|
|
Virtual Destructor. This is the Destructor for an IKJacobian object. |
|
||||||||||||||||
|
|
|
||||||||||||
|
Get the Joint position. This method is used to get the current joint position solution for an end-effector position represented by an Xform object.
|
|
||||||||||||
|
Get the Joint position. This method is used to get the current joint position solution for an end-effector position represented by an HandPose object.
|
|
|
Assignment operator. This is the Assignment operator for an object of type IKJTranspose.
|
|
|
Set the Error Bound. This method Sets the maximum error for a solution to be considered solved. It measures the norm of the weighted difference between the desired and current hand positions, and if the current hand is less than the error bound, it considers the current hand a solution to the Inverse Kinematics problem.
|
|
|
Maximum number of iterations. This method Sets the number of iterations for a solution.
|
|
|
Set the Weight Matrix. This method Sets the importance of a desired DOF. It defaults as an Identity matrix, but if say you just care about the position, you could use the first three diagonal elements (position) as 1's and the last three (orientation) as 0's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |