Go to the documentation of this file. 1 #ifndef AIKIDO_TRAJECTORY_TRAJECTORY_HPP_
2 #define AIKIDO_TRAJECTORY_TRAJECTORY_HPP_
11 namespace trajectory {
73 double _t,
int _derivative, Eigen::VectorXd& _tangentVector)
const = 0;
83 #endif // ifndef AIKIDO_TRAJECTORY_TRAJECTORY_HPP_
virtual ~Trajectory()=default
virtual double getEndTime() const =0
Time at which the trajectory ends.
virtual double getStartTime() const =0
Time at which the trajectory starts.
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
virtual double getDuration() const =0
Duration of the trajectory.
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
virtual statespace::ConstStateSpacePtr getStateSpace() const =0
Gets the StateSpace that this trajectory is defined in.
virtual void evaluate(double _t, statespace::StateSpace::State *_state) const =0
Evaluates the state of the trajectory at time _t and store the result in a _state allocated by getSta...
virtual void evaluateDerivative(double _t, int _derivative, Eigen::VectorXd &_tangentVector) const =0
Evaluates the derivative of the trajectory at time _t.
virtual std::size_t getNumDerivatives() const =0
Gets an upper bound on the number of non-zero derivatives available in this parameterization.
Definition: StateSpace.hpp:167
#define AIKIDO_DECLARE_POINTERS(X)
Definition: pointers.hpp:21
Time-parameterized path in a StateSpace.
Definition: Trajectory.hpp:20
TrajectoryMetadata metadata
Trajectory metadata.
Definition: Trajectory.hpp:77