Go to the documentation of this file.
18 #ifndef __invdyn_trajectory_base_hpp__
19 #define __invdyn_trajectory_base_hpp__
21 #include "tsid/deprecated.hh"
29 namespace trajectories {
31 typedef Eigen::Map<const Eigen::Matrix<double, 3, 3>>
MapMatrix3;
35 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
49 acc = second_derivative;
55 resize(size_value, size_derivative);
60 void resize(
unsigned int size_value,
unsigned int size_derivative) {
61 pos.setZero(size_value);
62 vel.setZero(size_derivative);
63 acc.setZero(size_derivative);
76 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
82 virtual unsigned int size()
const = 0;
101 #endif // ifndef __invdyn_trajectory_base_hpp__
virtual unsigned int size() const =0
void resize(unsigned int size)
EIGEN_MAKE_ALIGNED_OPERATOR_NEW TSID_DEPRECATED math::Vector pos
const math::Vector & getDerivative() const
void resize(unsigned int size_value, unsigned int size_derivative)
virtual const TrajectorySample & operator()(double time)=0
TrajectorySample m_sample
virtual const TrajectorySample & computeNext()=0
EIGEN_MAKE_ALIGNED_OPERATOR_NEW TSID_DEPRECATED math::Vector vel
#define TSID_DISABLE_WARNING_POP
#define TSID_DISABLE_WARNING_DEPRECATED
#define TSID_DISABLE_WARNING_PUSH
EIGEN_MAKE_ALIGNED_OPERATOR_NEW TrajectoryBase(const std::string &name)
void setSecondDerivative(const math::Vector &second_derivative)
~TrajectorySample()=default
void setDerivative(const math::Vector &derivative)
virtual bool has_trajectory_ended() const =0
Eigen::Map< const Eigen::Matrix< double, 3, 3 > > MapMatrix3
TSID_DISABLE_WARNING_PUSH const TSID_DISABLE_WARNING_DEPRECATED math::Vector & getValue() const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW TSID_DEPRECATED math::Vector acc
TrajectorySample(unsigned int size=0)
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
TrajectorySample(unsigned int size_value, unsigned int size_derivative)
const math::Vector & getSecondDerivative() const
virtual const TrajectorySample & getLastSample() const
void setValue(const math::Vector &value)
virtual ~TrajectoryBase()=default
tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Sat May 3 2025 02:48:17