Observer
========
Estimates the state from u and y: x̂' = A x̂ + B u + L (y − C x̂). L from kalman\_gain or by hand. No feedthrough, so it can close a loop with state\_feedback.
``observer`` · control · no feedthrough: a feedback loop may pass through it
.. raw:: html
Observerfn
A0
B1
C1
L1
domains
solverauto
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``u``
- numbers
- —
- —
* - ``y``
- numbers
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``x_hat``
- numbers
- —
- —
* - ``y_hat``
- numbers
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``A``
- text
- ``"0"``
- —
* - ``B``
- text
- ``"1"``
- —
* - ``C``
- text
- ``"1"``
- —
* - ``L``
- text
- ``"1"``
- —
* - ``domain``
- enum
- ``"s"``
- ``s``, ``z``
* - ``solver``
- enum
- ``"auto"``
- ``auto``, ``rk4``, ``rk45``, ``rk2``, ``euler``, ``discrete``