ControlLaw & operator=(const ControlLaw &rhs)
virtual BooleanType isDynamic() const
virtual uint getNU() const
virtual uint getNX() const
returnValue evaluate(double t, double *result) const
returnValue setStatus(BlockStatus _status)
void init(unsigned _dim=0)
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
FeedforwardLaw & operator=(const FeedforwardLaw &rhs)
#define CLOSE_NAMESPACE_ACADO
virtual uint getNW() const
virtual uint getNY() const
virtual uint getNP() const
virtual returnValue step(double currentTime, const DVector &_x, const DVector &_p=emptyConstVector, const VariablesGrid &_yRef=emptyConstVariablesGrid)
BlockStatus getStatus() const
virtual uint getNXA() const
Derived & setZero(Index size)
Allows to work with piecewise-continous function defined over a scalar time interval.
void rhs(const real_t *x, real_t *f)
virtual ~FeedforwardLaw()
virtual BooleanType isStatic() const
#define BEGIN_NAMESPACE_ACADO
virtual returnValue init(double startTime=0.0, const DVector &x0_=emptyConstVector, const DVector &p_=emptyConstVector, const VariablesGrid &_yRef=emptyConstVariablesGrid)
Implements a feedforward law to be used within a Controller.
Base class for interfacing online feedback laws to be used within a Controller.
virtual ControlLaw * clone() const
#define ACADOERROR(retval)