embedded-kalman

embedded-kalman is a Kalman filtering library written for Rust targeting:

Although this library was designed with embedded systems in mind, there's nothing wrong with using it in other applications. On the contrary, it should be quite fast on unconstrained systems. For now, embedded-kalman only features a standard optimal gain Kalman filter for linear time-invariant systems. Future versions are planned to contain:

A quick example

```ignore use embedded_kalman::KalmanFilter; use nalgebra::{SMatrix, SVector, Vector2};

let kf: KalmanFilter = KalmanFilter::new( ... // matrices and initial state go here );

let kf = kf .predict(Vector2::new(1.0, 0.0)) // Give an input to the system .update(Vector2::new(1.0, 0.0)) // Update the state from a given measurement .expect("Update step failed!");

let (xposterior, Pposterior) = kf.get_posteriors(); // Get the posteriors ```

Features

Non-features

Using embedded-kalman

You will need the last stable build of the rust compiler and the official package manager: cargo.

Simply add the following to your Cargo.toml file:

ignore [dependencies] embedded-kalman = "0.1.0"

Implemented Filters