13 eePosition(eePos), eeOrientation(eeOri)
17 list<const Joint*>::const_iterator iter = jointCollector.begin();
18 for(; iter != jointCollector.end(); ++iter)
33 unsigned int i = dofChain.size();
34 vector<Point4D> dofPosVec(i);
39 list<Dof*>::iterator iter = dofChain.begin();
40 for (; iter != dofChain.end(); ++iter)
42 (*iter)->GetLim(&lim);
44 dofPosVec.push_back(gim * (*iter)->GetPosition());
49 list<Dof*>::reverse_iterator rIter = dofChain.rbegin();
50 for (; rIter != dofChain.rend(); ++rIter)
54 vectorToEE = eePosition - dofPosVec[i];
56 vectorToTarget = targetPos - dofPosVec[i];
59 (*rIter)->Reconfigure(vectorToEE, vectorToTarget);
std::list< Dof * > dofChain
Chain (list) of DOFs.
Representation of joints.
Header file for V-ART class "Collector".
Points and vectors using homogeneous coordinates.
void Traverse(SNOperator *operatorPtr) const
Process all nodes in path.
void MoveTowardsSolution()
Adjusts the chain towards solution.
Header file for V-ART class "Joint".
A scene node operator that collects nodes of some kind.
void GetDofs(std::list< Dof * > *dofListPtr)
Returns all DOFs.
IKChain(SGPath path, Point4D eePos, Point4D eeOri)
Main constructor.
void SetEEPosition(const Point4D &eePos)
Sets the position of End Effector.
Header file for V-ART class "IKChain".