Skip to content
Snippets Groups Projects
curve_constraint.h 608 B
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
 * \file curve_constraint.h
 * \brief struct to define constraints on start / end velocities and acceleration
 * on a curve
 * \author Steve T.
 * \version 0.1
 * \date 04/05/2017
 *
 */

#ifndef _CLASS_CURVE_CONSTRAINT
#define _CLASS_CURVE_CONSTRAINT

#include "MathDefs.h"

#include <functional>
#include <vector>

Guilhem Saurel's avatar
Guilhem Saurel committed
namespace curves {
template <typename Point>
struct curve_constraints {
  typedef Point point_t;
  curve_constraints() {}
Guilhem Saurel's avatar
Guilhem Saurel committed
  ~curve_constraints() {}
JasonChmn's avatar
JasonChmn committed

Guilhem Saurel's avatar
Guilhem Saurel committed
  point_t init_vel;
  point_t init_acc;
  point_t end_vel;
  point_t end_acc;
};
}  // namespace curves
#endif  //_CLASS_CUBICZEROVELACC