estimator
Base class for all estimators.
Estimator(state_dim, input_dim, obs_dim, dt)
¶
Bases: ABC
Base class for estimator implementations.
Initialize basic parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state_dim
|
int
|
Dimensionality of the systems states, e.g., x of f(x,u) |
required |
input_dim
|
int
|
Dimensionality of the input to the dynamics, e.g., u of f(x,u) |
required |
obs_dim
|
int
|
Dimensionality of the observations, e.g., y |
required |
dt
|
float
|
Time step between callings. |
required |
Source code in drone_estimators/estimator.py
reset()
¶
set_input(u)
¶
Sets the input of the dynamical system. Assuming this class gets called multiple times between controller calls. We therefore store the input as a constant in the class.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
u
|
Array
|
Input to the dynamical system. |
required |