Joint limit constraint for 1-DOF joints. More...
#include <ik.h>
Public Member Functions | |
double | GetMax () |
double | GetMin () |
IK::ConstType | GetType () |
Returns the constraint type. More... | |
IKScalarJointLimit (IK *_ik, const char *_jname, Joint *_jnt, IK::Priority _pri, double _gain) | |
void | SetCharacterScale (double _scale, const char *charname=0) |
void | SetMax (double _q_max) |
void | SetMin (double _q_min) |
~IKScalarJointLimit () | |
Public Member Functions inherited from IKConstraint | |
void | Activate () |
activate the constraint More... | |
int | Active () |
whether the constraint is activate More... | |
void | Diactivate () |
diactivate the constraint More... | |
void | Disable () |
disable the constraint More... | |
int | Dropped () |
void | Enable () |
enable the constraint More... | |
double | GetGain () |
get the gain More... | |
Joint * | GetJoint () |
IK::Priority | GetPriority () |
get the priproty More... | |
int | iConst () |
int | ID () |
IKConstraint (IK *_ik, const char *_jname, Joint *_jnt, IK::Priority _pri, double _gain) | |
Default constructor. More... | |
int | nConst () |
virtual int | Reset () |
void | SetGain (double _gain) |
set the gain More... | |
void | SetPriority (IK::Priority _pri) |
set the priproty More... | |
virtual | ~IKConstraint () |
Destructor. More... | |
Protected Member Functions | |
int | calc_feedback () |
compute the feedback velocity More... | |
int | calc_jacobian_rotate (Joint *cur) |
int | calc_jacobian_slide (Joint *cur) |
Protected Member Functions inherited from IKConstraint | |
virtual int | calc_jacobian () |
Computes the constraint Jacobian. More... | |
int | calc_jacobian (Joint *cur) |
the function recursively called for all joints (don't override) More... | |
virtual int | calc_jacobian_free (Joint *cur) |
virtual int | calc_jacobian_sphere (Joint *cur) |
int | copy_jacobian () |
copy each constraint Jacobian to the whole Jacobian matrix More... | |
Protected Attributes | |
int | max_limit |
int | min_limit |
double | q_max |
double | q_min |
Protected Attributes inherited from IKConstraint | |
int | active |
int | enabled |
number of constraints More... | |
fVec | fb |
Jacobian matrix (n_const x total DOF) More... | |
double | gain |
priority More... | |
int | i_const |
feedback velocity (n_const) More... | |
int | id |
ID (unique to each constraint) More... | |
IK * | ik |
int | is_dropped |
index in the constraints with the same priority More... | |
fMat | J |
Joint * | joint |
target joint More... | |
char * | joint_name |
int | n_const |
weight More... | |
IK::Priority | priority |
fVec | weight |
feedback gain More... | |
Friends | |
class | IK |
|
inline |
|
protectedvirtual |
Reimplemented from IKConstraint.
|
inlinevirtual |
Reimplemented from IKConstraint.