Class Spline
Defined in File spline.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Derived Type
public bitbots_splines::SmoothSpline
(Class SmoothSpline)
Class Documentation
-
class bitbots_splines::Spline
-
Generic one dimentional polynomial spline generator
Subclassed by bitbots_splines::SmoothSpline
Public Functions
-
double pos(double t) const
Return spline interpolation at given t. Compute spline value, its first, second and third derivative
-
double vel(double t) const
-
double acc(double t) const
-
double jerk(double t) const
-
double posMod(double t) const
Return spline interpolation value, first, second and third derivative with given t bound between 0 and 1
-
double velMod(double t) const
-
double accMod(double t) const
-
double jerkMod(double t) const
-
double min() const
Return minimum and maximum abscisse value for which spline is defined
-
double max() const
-
void exportData(std::ostream &os) const
Write and read splines data into given iostream in ascii format
-
void importData(std::istream &is)
-
size_t size() const
Return the number of internal polynom
Protected Functions
-
virtual void importCallBack()
Possible override callback after importation
Private Functions
-
struct SplineT
Internal spline part structure with a polynom valid on an interval
-
double pos(double t) const