Base class for constraints.
More...
#include <ik.h>
Base class for constraints.
Definition at line 253 of file ik.h.
Default constructor.
Default constructor.
- Parameters
-
[in] | _ik | pointer to the IK object |
[in] | _jname | name of the joint to which the constraint is attached |
[in] | _jnt | pointer to the joint |
[in] | _pri | priority of the constraint |
[in] | _gain | gain of the constraint |
Definition at line 266 of file ik.h.
virtual IKConstraint::~IKConstraint |
( |
| ) |
|
|
inlinevirtual |
Destructor.
Definition at line 286 of file ik.h.
void IKConstraint::Activate |
( |
| ) |
|
|
inline |
activate the constraint
Definition at line 307 of file ik.h.
int IKConstraint::Active |
( |
| ) |
|
|
inline |
whether the constraint is activate
Definition at line 315 of file ik.h.
virtual int IKConstraint::calc_feedback |
( |
| ) |
|
|
protectedpure virtual |
int IKConstraint::calc_jacobian |
( |
| ) |
|
|
protectedvirtual |
int IKConstraint::calc_jacobian |
( |
Joint * |
cur | ) |
|
|
protected |
the function recursively called for all joints (don't override)
Definition at line 84 of file update_ik.cpp.
virtual int IKConstraint::calc_jacobian_free |
( |
Joint * |
cur | ) |
|
|
inlineprotectedvirtual |
virtual int IKConstraint::calc_jacobian_rotate |
( |
Joint * |
cur | ) |
|
|
inlineprotectedvirtual |
virtual int IKConstraint::calc_jacobian_slide |
( |
Joint * |
cur | ) |
|
|
inlineprotectedvirtual |
virtual int IKConstraint::calc_jacobian_sphere |
( |
Joint * |
cur | ) |
|
|
inlineprotectedvirtual |
int IKConstraint::copy_jacobian |
( |
| ) |
|
|
protected |
copy each constraint Jacobian to the whole Jacobian matrix
Definition at line 446 of file update_ik.cpp.
int IKConstraint::count_constraints |
( |
| ) |
|
|
private |
void IKConstraint::Diactivate |
( |
| ) |
|
|
inline |
diactivate the constraint
Definition at line 311 of file ik.h.
void IKConstraint::Disable |
( |
| ) |
|
|
inline |
disable the constraint
Definition at line 302 of file ik.h.
int IKConstraint::Dropped |
( |
| ) |
|
|
inline |
Definition at line 350 of file ik.h.
void IKConstraint::Enable |
( |
| ) |
|
|
inline |
enable the constraint
Definition at line 298 of file ik.h.
double IKConstraint::GetGain |
( |
| ) |
|
|
inline |
get the gain
Definition at line 324 of file ik.h.
Joint* IKConstraint::GetJoint |
( |
| ) |
|
|
inline |
Definition at line 344 of file ik.h.
get the priproty
Definition at line 333 of file ik.h.
int IKConstraint::iConst |
( |
| ) |
|
|
inline |
Definition at line 337 of file ik.h.
Definition at line 347 of file ik.h.
int IKConstraint::nConst |
( |
| ) |
|
|
inline |
Definition at line 340 of file ik.h.
virtual int IKConstraint::Reset |
( |
| ) |
|
|
inlinevirtual |
virtual void IKConstraint::SetCharacterScale |
( |
double |
_scale, |
|
|
const char * |
charname = 0 |
|
) |
| |
|
inlinevirtual |
void IKConstraint::SetGain |
( |
double |
_gain | ) |
|
|
inline |
set the gain
Definition at line 320 of file ik.h.
set the priproty
Definition at line 329 of file ik.h.
Definition at line 255 of file ik.h.
Definition at line 400 of file ik.h.
int IKConstraint::enabled |
|
protected |
number of constraints
Definition at line 399 of file ik.h.
Jacobian matrix (n_const x total DOF)
Definition at line 403 of file ik.h.
double IKConstraint::gain |
|
protected |
priority
Definition at line 396 of file ik.h.
int IKConstraint::i_const |
|
protected |
feedback velocity (n_const)
Definition at line 404 of file ik.h.
ID (unique to each constraint)
Definition at line 393 of file ik.h.
Definition at line 390 of file ik.h.
int IKConstraint::is_dropped |
|
protected |
index in the constraints with the same priority
Definition at line 406 of file ik.h.
Definition at line 402 of file ik.h.
Joint* IKConstraint::joint |
|
protected |
target joint
Definition at line 391 of file ik.h.
char* IKConstraint::joint_name |
|
protected |
Definition at line 392 of file ik.h.
int IKConstraint::n_const |
|
protected |
weight
Definition at line 398 of file ik.h.
Definition at line 395 of file ik.h.
fVec IKConstraint::weight |
|
protected |
feedback gain
Definition at line 397 of file ik.h.
The documentation for this class was generated from the following files: