ocra-recipes
Doxygen documentation for the ocra-recipes repository
TimeOptimalTrajectory.h
Go to the documentation of this file.
1 #ifndef TIME_OPTIMAL_TRAJECTORY_H
2 #define TIME_OPTIMAL_TRAJECTORY_H
3 
5 #include "gttraj/Path.h"
6 #include "gttraj/Trajectory.h"
7 
8 namespace ocra
9 {
10 
12 {
14 
15  public:
16  virtual ~TimeOptimalTrajectory();
17 
18  Eigen::MatrixXd getDesiredValues(double time);
19  virtual double getDuration();
20  virtual void recalculateTrajectory();
21 
22 
23  protected:
24  virtual void initializeTrajectory();
25 
26  double t0;
27  double maxDeviation;
28  double duration;
29  double timeStep;
30  gttraj::Trajectory* gt_trajectory;
31 
32 };
33 
34 } // end of namespace ocra
35 #endif // TIME_OPTIMAL_TRAJECTORY_H
Eigen::MatrixXd getDesiredValues(double time)
#define DEFINE_CLASS_POINTER_TYPEDEFS(Class)
Definition: Macros.h:8
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
gttraj::Trajectory * gt_trajectory