Class SlidingReducedOrderObserver

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

class SlidingReducedOrderObserver : public Observer

Public Functions

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

Constructor with the standard interface.

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

  • xHat0: the initial guess for the state

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

Constructor with all the data.

  • sensor: the sensor that feeds the Observer

  • xHat0: the initial guess for the state

  • C: observation matrix

  • L: gain matrix

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


  • nsds: current nonsmooth dynamical system

  • s: current simulation setup

virtual void process()

Update the estimate at each event.

void setCPtr(SP::SimpleMatrix C)

Set the C matrix.

  • C: the new C matrix

void setLPtr(SP::SimpleMatrix L)

Set the L matrix.

  • L: the new L matrix