Handle Closed Loop Inverse Kinematics scheme. More...
#include <clik.h>
Public Member Functions | |
Clik () | |
Clik (const Robot &robot_, const DiagonalMatrix &Kp_, const DiagonalMatrix &Ko_, const Real eps_=0.04, const Real lambda_max_=0.04, const Real dt=1.0) | |
Constructor. More... | |
Clik (const mRobot &mrobot_, const DiagonalMatrix &Kp_, const DiagonalMatrix &Ko_, const Real eps_=0.04, const Real lambda_max_=0.04, const Real dt=1.0) | |
Constructor. More... | |
Clik (const mRobot_min_para &mrobot_min_para_, const DiagonalMatrix &Kp_, const DiagonalMatrix &Ko_, const Real eps_=0.04, const Real lambda_max_=0.04, const Real dt=1.0) | |
Constructor. More... | |
Clik (const Clik &x) | |
Copy constructor. More... | |
Clik & | operator= (const Clik &x) |
Overload = operator. More... | |
void | q_qdot (const Quaternion &qd, const ColumnVector &pd, const ColumnVector &pddot, const ColumnVector &wd, ColumnVector &q, ColumnVector &qp) |
Obtain joints position and velocity. More... | |
~Clik () | |
Private Member Functions | |
int | endeff_pos_ori_err (const ColumnVector &pd, const ColumnVector &pddot, const Quaternion &qd, const ColumnVector &wd) |
Obtain end effector position and orientation error. More... | |
Private Attributes | |
Real | dt |
Time frame. More... | |
Real | eps |
Range of singular region in Jacobian DLS inverse. More... | |
DiagonalMatrix | Ko |
Orientation error gain. More... | |
ColumnVector | Koe0Quat |
Ko times orientation error (quaternion vector part). More... | |
DiagonalMatrix | Kp |
Position error gain. More... | |
ColumnVector | Kpep |
Kp times position error. More... | |
Real | lambda_max |
Damping factor in Jacobian DLS inverse. More... | |
mRobot | mrobot |
mRobot instance. More... | |
mRobot_min_para | mrobot_min_para |
mRobot_min_para instance. More... | |
ColumnVector | q |
Clik joint position. More... | |
ColumnVector | qp |
Clik joint velocity. More... | |
ColumnVector | qp_prev |
Clik previous joint velocity. More... | |
Robot | robot |
Robot instance. More... | |
short | robot_type |
Robot type used. More... | |
ColumnVector | v |
Quaternion vector part. More... | |
Clik::Clik | ( | const Robot & | robot_, |
const DiagonalMatrix & | Kp_, | ||
const DiagonalMatrix & | Ko_, | ||
const Real | eps_ = 0.04 , |
||
const Real | lambda_max_ = 0.04 , |
||
const Real | dt = 1.0 |
||
) |
Clik::Clik | ( | const mRobot & | mrobot_, |
const DiagonalMatrix & | Kp_, | ||
const DiagonalMatrix & | Ko_, | ||
const Real | eps_ = 0.04 , |
||
const Real | lambda_max_ = 0.04 , |
||
const Real | dt = 1.0 |
||
) |
Clik::Clik | ( | const mRobot_min_para & | mrobot_min_para_, |
const DiagonalMatrix & | Kp_, | ||
const DiagonalMatrix & | Ko_, | ||
const Real | eps_ = 0.04 , |
||
const Real | lambda_max_ = 0.04 , |
||
const Real | dt = 1.0 |
||
) |
|
private |
void Clik::q_qdot | ( | const Quaternion & | qd, |
const ColumnVector & | pd, | ||
const ColumnVector & | pdd, | ||
const ColumnVector & | wd, | ||
ColumnVector & | q_, | ||
ColumnVector & | qp_ | ||
) |
Obtain joints position and velocity.
qd | Desired eff orientatio in base frame. |
pd | Desired eff position in base frame. |
pdd | Desired eff velocity in base frame. |
wd | Desired eff angular velocity in base frame. |
q_ | Output joint position. |
qp_ | Output joint velocity. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
mRobot_min_para instance.
|
private |
|
private |
|
private |
|
private |
Quaternion vector part.