siconos.control.observer#
Module documentation
- class siconos.control.observer.nullDeleter(*args, **kwargs)[source]#
Bases:
object
- Using a shared_ptr to hold a pointer to a statically allocated
object use create<type>SPtr(<type> &x) cf http://www.boost.org/doc/
- class siconos.control.observer.Observer(*args, **kwargs)[source]#
Bases:
object
Observers Base Class
Abstract class, interface to user-defined observers.
An Observer is dedicated to estimate the state of a DynamicalSystem given its dynamics, inputs and a initial estimate of the state.
- setTimeDiscretisation(td)[source]#
This is derived in child classes if they need to copy the TimeDiscretisation associated with this Sensor
- Parameters:
td (
TimeDiscretisation
) – the TimeDiscretisation for this Sensor
- initialize(nsds, s)[source]#
initialize observer data.
- Parameters:
nsds (
NonSmoothDynamicalSystem
) – current nonsmooth dynamical systems (
Simulation
) – current simulation setup
- class siconos.control.observer.LuenbergerObserver(*args)[source]#
Bases:
Observer
Overload 1: Constructor with a TimeDiscretisation, a ControlSensor and an initial estimate of the state.
- Parameters:
sensor (ControlSensor) – the SP::ControlSensor that feed us with measurements
xHat0 (
SiconosVector
) – the initial guess for the state
Overload 2: Constructor with all the data
- Parameters:
sensor (ControlSensor) – the ControlSensor that feeds the Observer
xHat0 (
SiconosVector
) – the initial guess for the stateC (
SiconosMatrix
) – the observation matrixL (
SiconosMatrix
) – the gain matrix
- class siconos.control.observer.SlidingReducedOrderObserver(*args)[source]#
Bases:
Observer
Overload 1: Constructor with the standard interface
- Parameters:
sensor (ControlSensor) – the SP::ControlSensor that feed us with measurements
xHat0 (
SiconosVector
) – the initial guess for the state
Overload 2: Constructor with all the data
- Parameters:
sensor (ControlSensor) – the sensor that feeds the Observer
xHat0 (
SiconosVector
) – the initial guess for the stateC (
SimpleMatrix
) – observation matrixL (
SimpleMatrix
) – gain matrix