rlabbe / filterpy

Python Kalman filtering and optimal estimation library. Implements Kalman filter, particle filter, Extended Kalman filter, Unscented Kalman filter, g-h (alpha-beta), least squares, H Infinity, smoothers, and more. Has companion book 'Kalman and Bayesian Filters in Python'.
MIT License
3.31k stars 617 forks source link

kinematic_kf assigns to H incorrectly #206

Closed rlabbe closed 4 years ago

rlabbe commented 4 years ago

If you create a kinematic kf the assignment to H is either wrong or causes an assertion due to indexing H incorrectly when setting 1 for for the state position elements.