33 #ifndef ACADO_TOOLKIT_ADAPTIVE_REFERENCE_TRAJECTORY_HPP 34 #define ACADO_TOOLKIT_ADAPTIVE_REFERENCE_TRAJECTORY_HPP 191 #endif // ACADO_TOOLKIT_ADAPTIVE_REFERENCE_TRAJECTORY_HPP virtual returnValue getReference(double tStart, double tEnd, VariablesGrid &_yRef) const =0
Abstract base class to define a reference trajectory that the ControlLaw aims to track.
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
virtual uint getDim() const
#define CLOSE_NAMESPACE_ACADO
virtual ~AdaptiveReferenceTrajectory()
static const DVector emptyConstVector
virtual returnValue init(double startTime=0.0, const DVector &_x=emptyConstVector, const DVector &_xa=emptyConstVector, const DVector &_u=emptyConstVector, const DVector &_p=emptyConstVector, const DVector &_w=emptyConstVector)=0
void rhs(const real_t *x, real_t *f)
virtual returnValue step(double _currentTime, const DVector &_y, const DVector &_x=emptyConstVector, const DVector &_xa=emptyConstVector, const DVector &_u=emptyConstVector, const DVector &_p=emptyConstVector, const DVector &_w=emptyConstVector)=0
Allows to define an adaptive reference trajectory that the ControlLaw aims to track.
#define BEGIN_NAMESPACE_ACADO
virtual ReferenceTrajectory * clone() const =0
AdaptiveReferenceTrajectory()
AdaptiveReferenceTrajectory & operator=(const AdaptiveReferenceTrajectory &rhs)
static const VariablesGrid emptyConstVariablesGrid