Loads curve from file. More...
#include <parametric-curves/text-file.hpp>
Public Types | |
typedef Point | point_t |
typedef Numeric | time_t |
typedef Numeric | num_t |
typedef Eigen::Matrix< Numeric, Dim, Eigen::Dynamic > | pos_t |
typedef Eigen::Matrix< Numeric, Dim, Eigen::Dynamic > | vel_t |
typedef Eigen::Matrix< Numeric, Dim, Eigen::Dynamic > | acc_t |
typedef AbstractCurve< Numeric, Point > | curve_abc_t |
![]() | |
typedef Point | point_t |
typedef Numeric | time_t |
typedef Numeric | num_t |
Public Member Functions | |
TextFile (const time_t &dt_, const std::size_t &size_) | |
Constructor. More... | |
~TextFile () | |
Destructor. More... | |
virtual const point_t | operator() (const time_t &t) const |
Evaluation of the cubic spline at time t. More... | |
virtual const point_t | derivate (const time_t &t, const std::size_t &order) const |
Evaluation of the derivative spline at time t. More... | |
virtual bool | loadTextFile (const std::string &fileName) |
virtual bool | setInitialPoint (const point_t &) |
virtual bool | setInitialPoint (const num_t &) |
const point_t & | getInitialPoint (void) const |
![]() | |
AbstractCurve (time_t t_min_, time_t t_max_) | |
AbstractCurve () | |
virtual | ~AbstractCurve () |
virtual const point_t | operator() (const time_t &t) const =0 |
Evaluation of the cubic spline at time t. More... | |
virtual const point_t | derivate (const time_t &t, const std::size_t &order) const =0 |
Evaluation of the derivative spline at time t. More... | |
virtual const time_t | tmin () const |
virtual const time_t | tmax () const |
virtual bool | checkRange (const time_t t) const |
virtual bool | setInitialPoint (const point_t &)=0 |
virtual bool | setInitialPoint (const num_t &)=0 |
virtual bool | setTimePeriod (const time_t &traj_time_) |
Protected Attributes | |
point_t | x_init |
pos_t | posValues |
vel_t | velValues |
acc_t | accValues |
time_t | timeStep |
std::size_t | size |
![]() | |
time_t | t_min |
time_t | t_max |
Loads curve from file.
typedef Eigen::Matrix<Numeric, Dim, Eigen::Dynamic> parametriccurves::TextFile< Numeric, Dim, Point >::acc_t |
typedef AbstractCurve<Numeric, Point> parametriccurves::TextFile< Numeric, Dim, Point >::curve_abc_t |
typedef Numeric parametriccurves::TextFile< Numeric, Dim, Point >::num_t |
typedef Point parametriccurves::TextFile< Numeric, Dim, Point >::point_t |
typedef Eigen::Matrix<Numeric, Dim, Eigen::Dynamic> parametriccurves::TextFile< Numeric, Dim, Point >::pos_t |
typedef Numeric parametriccurves::TextFile< Numeric, Dim, Point >::time_t |
typedef Eigen::Matrix<Numeric, Dim, Eigen::Dynamic> parametriccurves::TextFile< Numeric, Dim, Point >::vel_t |
|
inline |
Constructor.
|
inline |
Destructor.
|
inlinevirtual |
Evaluation of the derivative spline at time t.
t | : the time when to evaluate the spline |
order | : order of the derivative |
return | : the value x(t) |
Implements parametriccurves::AbstractCurve< Numeric, Point >.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Evaluation of the cubic spline at time t.
t | : the time when to evaluate the spine |
return | : the value x(t) |
Implements parametriccurves::AbstractCurve< Numeric, Point >.
|
inlinevirtual |
|
inlinevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |