$search
Implements the Fritsch-Butland algorithm for monotonic cubic spline interpolation. More...
#include <fritsch_butland_spline_smoother.h>
Public Member Functions | |
FritschButlandSplineSmoother () | |
virtual bool | smooth (const T &trajectory_in, T &trajectory_out) const |
Smooths the input position trajectory by generating velocities and accelerations at the waypoints. | |
virtual | ~FritschButlandSplineSmoother () |
Implements the Fritsch-Butland algorithm for monotonic cubic spline interpolation.
Outputs cubic splines with continuous velocities at the waypoints, but not accelerations.
Reference: F.N. Fritsch and J. Butland. A method for constructing local monotone piecewise cubic interpolants. SIAM J. Sci. Stst. Comput., 5(2), 1984.
Definition at line 54 of file fritsch_butland_spline_smoother.h.
spline_smoother::FritschButlandSplineSmoother< T >::FritschButlandSplineSmoother | ( | ) | [inline] |
Definition at line 65 of file fritsch_butland_spline_smoother.h.
spline_smoother::FritschButlandSplineSmoother< T >::~FritschButlandSplineSmoother | ( | ) | [inline, virtual] |
Definition at line 70 of file fritsch_butland_spline_smoother.h.
bool spline_smoother::FritschButlandSplineSmoother< T >::smooth | ( | const T & | trajectory_in, | |
T & | trajectory_out | |||
) | const [inline, virtual] |
Smooths the input position trajectory by generating velocities and accelerations at the waypoints.
This virtual method needs to implemented by the derived class.
Implements spline_smoother::SplineSmoother< T >.
Definition at line 75 of file fritsch_butland_spline_smoother.h.