Klamp't  0.8.1
RobotConstrainedInterpolator.h
1 #ifndef ROBOT_CONSTRAINED_INTERPOLATOR_H
2 #define ROBOT_CONSTRAINED_INTERPOLATOR_H
3 
4 #include "ConstrainedInterpolator.h"
5 #include "RobotCSpace.h"
6 #include <KrisLibrary/robotics/IKFunctions.h>
7 
8 
14 {
15 public:
16  RobotConstrainedInterpolator(Robot& robot,const vector<IKGoal>& goals);
17  virtual void ConstraintValue(const Config& x,Vector& v);
18  virtual bool Project(Config& x);
19 
20  RobotCSpace space;
21  RobotIKFunction f;
22 };
23 
29 {
30 public:
31  RobotSmoothConstrainedInterpolator(Robot& robot,const vector<IKGoal>& goals);
32  virtual void ConstraintValue(const Config& x,Vector& v);
33  virtual bool Project(Config& x);
34  virtual bool ProjectVelocity(const Config& x,Vector& v);
35 
36  RobotCSpace space;
37  RobotIKFunction f;
38 };
39 
40 #endif
The main robot type used in RobotSim.
Definition: Robot.h:79
Just like a ConstrainedInterpolator but only projects the active DOFs. Much faster for high-DOF syste...
Definition: RobotConstrainedInterpolator.h:13
Just like a SmoothConstrainedInterpolator but only projects the active DOFs. Much faster for high-DOF...
Definition: RobotConstrainedInterpolator.h:28
Implements a basic robot configuration space with only joint limit constraint testing.
Definition: RobotCSpace.h:30
Construct a polyline between a and b such that each point is near the constraint C(x)=0.
Definition: ConstrainedInterpolator.h:27
Constructs a piecewise polynomial path between a and b such that each point is near the constraint C(...
Definition: ConstrainedInterpolator.h:71