rfetick / Kalman

Implement Kalman filter for your Arduino projects
MIT License
131 stars 13 forks source link
arduino arduino-libraries kalman-filter

Kalman bdg bdg bdg

Implement Kalman filter for your Arduino projects

I. Long description

Other Kalman libraries already exist for Arduino, but so far I have only seen filters applied to independent scalars. The matricial implementation of this project allows to use the full power of the Kalman filter to coupled variables. It allows to merge measurements from multiple sensors such as accelerometers, GPS, ultrasound (distance) or pressure (altitude) sensors...

This library is adapted to your most sophisticated projects. In order to use it you need some knowledge about matrix formalism and be able to write (or find on internet) the actual state equations of your system.

II. Using the Kalman library

1. Prerequisites

BasicLinearAlgebra: You might find it in the library manager of your Arduino IDE, or directly download it at https://github.com/tomstewart89/BasicLinearAlgebra

[!WARNING] It seems that the Kalman library is not compatible with the version 4 of BasicLinearAlgebra. You might need to install version 3.XX. See issue#8 and issue#9.

2. Downloading the Kalman library

This library is available in the official Arduino library manager. Just type Kalman and you should find it.

Other possibility is to download (or clone) this project from GITHUB and add it to your Arduino/libraries/ folder.

3. Start using the library in your Arduino projects

See the GETTING_STARTED file.

See also the examples\ folder.

III. Possible issues