33 #ifndef ACADO_TOOLKIT_CONTROL_LAW_HPP 34 #define ACADO_TOOLKIT_CONTROL_LAW_HPP 349 #include <acado/control_law/control_law.ipp> 352 #endif // ACADO_TOOLKIT_CONTROL_LAW_HPP
virtual returnValue initializeControls(const VariablesGrid &_u_init)
ControlLaw & operator=(const ControlLaw &rhs)
virtual uint getNY() const
virtual uint getNX() 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 BooleanType isInRealTimeMode() const
virtual BooleanType isDynamic() const =0
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
virtual returnValue feedbackStep(double currentTime, const DVector &_x, const DVector &_p=emptyConstVector, const VariablesGrid &_yRef=emptyConstVariablesGrid)
#define CLOSE_NAMESPACE_ACADO
virtual uint getNXA() const
virtual uint getNU() const
virtual returnValue shift(double timeShift=-1.0)
static const DVector emptyConstVector
returnValue getP(DVector &_p) const
virtual returnValue initializeAlgebraicStates(const VariablesGrid &_xa_init)
virtual ControlLaw * clone() const =0
virtual returnValue preparationStep(double nextTime=0.0, const VariablesGrid &_yRef=emptyConstVariablesGrid)
virtual uint getNP() const
void rhs(const real_t *x, real_t *f)
returnValue getU(DVector &_u) const
Base class for building-blocks of the SimulationEnvironment.
virtual double getLengthControlHorizon() const
#define BEGIN_NAMESPACE_ACADO
virtual uint getNW() const
virtual double getLengthPredictionHorizon() const
virtual returnValue step(double currentTime, const DVector &_x, const DVector &_p=emptyConstVector, const VariablesGrid &_yRef=emptyConstVariablesGrid)=0
virtual BooleanType isStatic() const =0
virtual returnValue init(double startTime=0.0, const DVector &_x=emptyConstVector, const DVector &_p=emptyConstVector, const VariablesGrid &_yRef=emptyConstVariablesGrid)=0
Base class for interfacing online feedback laws to be used within a Controller.
static const VariablesGrid emptyConstVariablesGrid