Kfilter
A no-std implementation of the Kalman and Extended Kalman Filter.
See the documentation and examples for usage.
See this blog post to understand why the library looks the way it does.
Features
- Systems for modelling state transition / prediction
- Linear or Non-linear
- With and without inputs
- Measurements for modelling sensors / observations
- Linear or Non-linear
- Single measurement Kalman filter (Kalman1M) or multi-measurment / multi-rate (Kalman)
Quickstart
The example below is a position and velocity 2 state Kalman filter with position measurements.
use ;
use ;
// Create a new 2 state kalman filter
let mut k = new;
// Run 100 timesteps
for i in 0..100