splines.h File Reference

#include <vector>
Include dependency graph for splines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  spline_smoother

Functions

static void spline_smoother::generatePowers (int n, double x, double *powers)
void spline_smoother::getCubicSplineCoefficients (double start_pos, double start_vel, double end_pos, double end_vel, double time, std::vector< double > &coefficients)
 Calculates cubic spline coefficients given the start and end way-points.
void spline_smoother::getQuinticSplineCoefficients (double start_pos, double start_vel, double start_acc, double end_pos, double end_vel, double end_acc, double time, std::vector< double > &coefficients)
 Calculates quintic spline coefficients given the start and end way-points.
void spline_smoother::sampleCubicSpline (const std::vector< double > &coefficients, double time, double &position, double &velocity, double &acceleration)
 Samples a cubic spline segment at a particular time.
void spline_smoother::sampleQuinticSpline (const std::vector< double > &coefficients, double time, double &position, double &velocity, double &acceleration)
 Samples a quintic spline segment at a particular time.
 All Classes Namespaces Files Functions Variables Typedefs


spline_smoother
Author(s): Mrinal Kalakrishnan / mail@mrinal.net
autogenerated on Fri Jan 11 09:15:15 2013