V-ART
ikchain.h
Go to the documentation of this file.
1 
5 #ifndef VART_IKCHAIN_H
6 #define VART_IKCHAIN_H
7 
8 #include "vart/sgpath.h"
9 #include "vart/point4d.h"
10 #include "vart/dof.h"
11 
12 namespace VART {
18  class IKChain
19  {
20  public:
21  // PUBLIC STATIC METHODS
22  // PUBLIC METHODS
27  IKChain(SGPath path, Point4D eePos, Point4D eeOri);
28 
30  void SetEEPosition(const Point4D& eePos);
31 
33  void SetTargetPosition(const Point4D& target) { targetPos = target; }
34 
36  void MoveTowardsSolution();
37  protected:
38  // PROTECTED STATIC METHODS
39  // PROTECTED METHODS
40  // PROTECTED STATIC ATTRIBUTES
41  // PROTECTED ATTRIBUTES
43  std::list<Dof*> dofChain;
54  }; // end class declaration
55 } // end namespace
56 
57 #endif
std::list< Dof * > dofChain
Chain (list) of DOFs.
Definition: ikchain.h:43
Header file for V-ART class "Dof".
Points and vectors using homogeneous coordinates.
Definition: point4d.h:22
Point4D targetPos
Target position.
Definition: ikchain.h:53
void MoveTowardsSolution()
Adjusts the chain towards solution.
Definition: ikchain.cpp:30
void SetTargetPosition(const Point4D &target)
Sets the target position.
Definition: ikchain.h:33
Point4D eePosition
Position of end effector.
Definition: ikchain.h:45
Header file for V-ART class "SGPath".
Inverse Kinematic Chain.
Definition: ikchain.h:18
Point4D eeOrientation
Orientation of end effector.
Definition: ikchain.h:51
IKChain(SGPath path, Point4D eePos, Point4D eeOri)
Main constructor.
Definition: ikchain.cpp:12
Header file for V-ART class "Point4D".
Scene Graph Path.
Definition: sgpath.h:23
void SetEEPosition(const Point4D &eePos)
Sets the position of End Effector.
Definition: ikchain.cpp:25