ExtendedKalmanFilter.initialize¶
giant.ufo.extended_kalman_filter
:
- ExtendedKalmanFilter.initialize(initial_measurement)[source]¶
This method (re)initializes the EKF by setting the initial state using the
state_initializer
function and resetting all of the history lists.Note that this method deletes all history from the EKF, so if you want to keep the history, make sure you make a copy before calling this method (or create an entirely new EKF).
- Parameters:
initial_measurement (Measurement) – The initial measurement to use to initialize the state