Interface class for reference trajectories. More...
#include <reference_trajectory.h>
Public Types | |
using | OutputVector = Eigen::VectorXd |
using | Ptr = std::shared_ptr< ReferenceTrajectoryInterface > |
Public Member Functions | |
virtual int | getDimension () const =0 |
virtual Ptr | getInstance () const =0 |
virtual const OutputVector & | getNextSteadyState (const Time &t)=0 |
virtual void | getReference (const Time &t, OutputVector &ref) const =0 |
virtual const OutputVector & | getReferenceCached (int k) const =0 |
virtual bool | isCached (double dt, int n, Time t) const =0 |
virtual bool | isCached (const std::vector< double > &dt, Time t) const =0 |
virtual bool | isStatic () const =0 |
virtual bool | isZero () const |
virtual void | precompute (double dt, int n, Time t)=0 |
virtual void | precompute (const std::vector< double > &dt, Time t)=0 |
virtual | ~ReferenceTrajectoryInterface ()=default |
Static Public Member Functions | |
static Factory< ReferenceTrajectoryInterface > & | getFactory () |
Get access to the associated factory. More... | |
Interface class for reference trajectories.
This class represents a generic reference trajectory, e.g. for plant controllers. The interface does not distinguish between state and control input references, but is subject to an Eigen::VectorXd type of arbitrary dimension.
Definition at line 60 of file reference_trajectory.h.
using corbo::ReferenceTrajectoryInterface::OutputVector = Eigen::VectorXd |
Definition at line 64 of file reference_trajectory.h.
using corbo::ReferenceTrajectoryInterface::Ptr = std::shared_ptr<ReferenceTrajectoryInterface> |
Definition at line 63 of file reference_trajectory.h.
|
virtualdefault |
|
pure virtual |
|
inlinestatic |
Get access to the associated factory.
Definition at line 71 of file reference_trajectory.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in corbo::BlindDiscreteTimeReferenceTrajectory, corbo::DiscreteTimeReferenceTrajectory, corbo::SineReferenceTrajectory, corbo::ZeroReference, and corbo::StaticReference.
Definition at line 74 of file reference_trajectory.h.
|
pure virtual |