|
hermite
0.0.1
|
Spline vector calculator. More...
#include <cubic_vec.hpp>
Public Member Functions | |
| CubicVec ()=default | |
| Default constructor. More... | |
| CubicVec (const std::vector< Pose< D >> &waypoints) | |
| Constructor. More... | |
| CubicVec (const CubicVec< D > &other) | |
| Copy constructor. | |
| CubicVec< D > & | operator= (const CubicVec< D > &other) |
| Assignment operator. | |
| ~CubicVec ()=default | |
| Destructor. | |
| Vector< D > | splpos (const double t) const |
| Vector< D > | splvel (const double t) const |
| Vector< D > | splacc (const double t) const |
Spline vector calculator.
Calculates spline for vectors in C++ STL containers
|
default |
Default constructor.
|
inline |
Constructor.
Takes a list of poses and calculates the position values and time values for each pose in each dimension efficiently (linear complexity to the number of waypoints, times the number of dimensions).
| waypoints | A list of poses |
|
inline |
Gets acceleration value given a time input
| t | Time input |
|
inline |
Gets position value given a time input
| t | Time input |
|
inline |
Gets velocity value given a time input
| t | Time input |