filterpy
filterpy copied to clipboard
Error in EKF.py predict_update
I believe the Jacobian should be computed after the predict step instead of before.
https://github.com/rlabbe/filterpy/blob/1d2834d5d162e17bcb5e8328e4d0f97392b0ff03/filterpy/kalman/EKF.py#L222-L242
I agree. You want to linearize the system about the current estimate. Once you run the prediction, the estimate changes and so should the measurement Jacobian.