Class SlidingReducedOrderObserver#

Defined in Program listing for file control/src/Observer/SlidingReducedOrderObserver.hpp

class SlidingReducedOrderObserver : public Observer#

Public Functions

inline SlidingReducedOrderObserver(SP::ControlSensor sensor, const SiconosVector &xHat0)#

Constructor with the standard interface.

Parameters:
  • sensor – the SP::ControlSensor that feed us with measurements

  • xHat0 – the initial guess for the state

inline SlidingReducedOrderObserver(SP::ControlSensor sensor, const SiconosVector &xHat0, SP::SimpleMatrix C, SP::SimpleMatrix L)#

Constructor with all the data.

Parameters:
  • sensor – the sensor that feeds the Observer

  • xHat0 – the initial guess for the state

  • C – observation matrix

  • L – gain matrix

virtual void process()#

Update the estimate at each event.

virtual void initialize(const NonSmoothDynamicalSystem &nsds, const Simulation &s)#

Initialization.

Parameters:
  • nsds – current nonsmooth dynamical system

  • s – current simulation setup

inline void setLPtr(SP::SimpleMatrix L)#

Set the L matrix.

Parameters:

L – the new L matrix

inline void setCPtr(SP::SimpleMatrix C)#

Set the C matrix.

Parameters:

C – the new C matrix