Go to the documentation of this file. 1 #ifndef AIKIDO_STATESPACE_INTERPOLATOR_HPP_
2 #define AIKIDO_STATESPACE_INTERPOLATOR_HPP_
10 namespace statespace {
53 std::size_t _derivative,
55 Eigen::VectorXd& _tangentVector)
const = 0;
61 #endif // ifndef AIKIDO_STATESPACE_INTERPOLATOR_HPP_
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
virtual void getDerivative(const statespace::StateSpace::State *_from, const statespace::StateSpace::State *_to, std::size_t _derivative, double _alpha, Eigen::VectorXd &_tangentVector) const =0
Computes the _derivative-th derivative of the path at path parameter _alpha between _from and _to.
virtual statespace::ConstStateSpacePtr getStateSpace() const =0
Gets the StateSpace on which this Interpolator operates.
virtual void interpolate(const statespace::StateSpace::State *_from, const statespace::StateSpace::State *_to, double _alpha, statespace::StateSpace::State *_state) const =0
Computes the state that lies at path parameter _alpha along the path that connects _from to _to.
virtual ~Interpolator()=default
Method of interpolating between two states in a StateSpace.
Definition: Interpolator.hpp:15
Definition: StateSpace.hpp:167
#define AIKIDO_DECLARE_POINTERS(X)
Definition: pointers.hpp:21
virtual std::size_t getNumDerivatives() const =0
Upper bound on the number of non-zero derivatives.