Representation of a spatial vector curve in the form of splines Returns Plucker coordinates in the form of (Linear(3), Angular(3)) More...
#include <parametric-curves/spatial/force-curve.hpp>
Public Types | |
typedef Eigen::Matrix< Numeric, 2 *Dim, 1 > | force_t |
typedef Eigen::Matrix< Numeric, 2 *Dim, 1 > | motion_t |
typedef Spline< Numeric, Dim, Eigen::Matrix< Numeric, Dim, 1 > > | spline_lin_t |
typedef Spline< Numeric, Dim, Eigen::Matrix< Numeric, Dim, 1 > > | spline_ang_t |
typedef Numeric | time_t |
typedef Numeric | num_t |
typedef AbstractCurve< num_t, force_t > | curve_abc_t |
![]() | |
typedef Eigen::Matrix< double, 6, 1 > | point_t |
typedef double | time_t |
typedef double | num_t |
Public Member Functions | |
ForceCurve () | |
Constructor. More... | |
ForceCurve (const spline_lin_t &linPart_, const spline_ang_t &angPart_) | |
Constructor. More... | |
ForceCurve (const ForceCurve &other) | |
Copy Constructor. More... | |
~ForceCurve () | |
Destructor. More... | |
virtual const force_t | operator() (const time_t &t) const |
virtual const force_t | derivate (const time_t &, const std::size_t &) const |
virtual const std::size_t & | size () const |
void | setMotionVector (const motion_t &motionVector_) |
virtual bool | setInitialPoint (const force_t &) |
virtual bool | setInitialPoint (const num_t &) |
bool | loadFromFile (const std::string &filename) |
bool | saveToFile (const std::string &filename) const |
Saved a Derived object as a text file. More... | |
![]() | |
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_) |
Static Public Attributes | |
static const std::size_t | Dim = 3 |
Protected Attributes | |
spline_lin_t | linPart |
spline_ang_t | angPart |
motion_t | motionVector |
![]() | |
time_t | t_min |
time_t | t_max |
Friends | |
class | boost::serialization::access |
Representation of a spatial vector curve in the form of splines Returns Plucker coordinates in the form of (Linear(3), Angular(3))
typedef AbstractCurve<num_t, force_t> parametriccurves::spatial::ForceCurve< Numeric >::curve_abc_t |
typedef Eigen::Matrix<Numeric, 2 * Dim, 1> parametriccurves::spatial::ForceCurve< Numeric >::force_t |
typedef Eigen::Matrix<Numeric, 2 * Dim, 1> parametriccurves::spatial::ForceCurve< Numeric >::motion_t |
typedef Numeric parametriccurves::spatial::ForceCurve< Numeric >::num_t |
typedef Spline<Numeric, Dim, Eigen::Matrix<Numeric, Dim, 1> > parametriccurves::spatial::ForceCurve< Numeric >::spline_ang_t |
typedef Spline<Numeric, Dim, Eigen::Matrix<Numeric, Dim, 1> > parametriccurves::spatial::ForceCurve< Numeric >::spline_lin_t |
typedef Numeric parametriccurves::spatial::ForceCurve< Numeric >::time_t |
|
inline |
Constructor.
|
inline |
Constructor.
subSplines | vector of subsplines |
|
inline |
Copy Constructor.
|
inline |
Destructor.
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inline |
Saved a Derived object as a text file.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
friend |
|
protected |
|
static |
|
protected |
|
protected |