79 _yRef.
read( _yRefFileName );
182 Grid grid( tStart,tEnd );
returnValue setTime(double _time)
StaticReferenceTrajectory & operator=(const StaticReferenceTrajectory &rhs)
StaticReferenceTrajectory()
virtual returnValue getReference(double tStart, double tEnd, VariablesGrid &_yRef) const
Abstract base class to define a reference trajectory that the ControlLaw aims to track.
double getFirstTime() const
virtual uint getDim() const
virtual ReferenceTrajectory * clone() const
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
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)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Allows to conveniently handle (one-dimensional) grids consisting of time points.
BooleanType isEmpty() const
uint getLastIndex() const
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)
#define CLOSE_NAMESPACE_ACADO
ReferenceTrajectory & operator=(const ReferenceTrajectory &rhs)
BooleanType acadoIsStrictlySmaller(double x, double y, double TOL)
DVector getLastVector() const
VariablesGrid getTimeSubGrid(uint startIdx, uint endIdx) const
BooleanType acadoIsSmaller(double x, double y, double TOL)
Allows to define a static reference trajectory that the ControlLaw aims to track. ...
void rhs(const real_t *x, real_t *f)
returnValue read(std::istream &stream)
virtual ~StaticReferenceTrajectory()
double getLastTime() const
#define BEGIN_NAMESPACE_ACADO
uint getNumValues() const
#define ACADOERROR(retval)