Coder Social home page Coder Social logo

sunsided / libfixkalman Goto Github PK

View Code? Open in Web Editor NEW
65.0 17.0 29.0 62 KB

Kalman filter fixed-point implementation based on libfixmatrix, targeted at embedded systems without an FPU and/or need for performance.

License: MIT License

C 95.30% CMake 2.10% Python 2.60%
kalman-filter c cpp libfixmath libfixmatrix embedded signal-processing

libfixkalman's Introduction

https://raw.githubusercontent.com/sunsided/libfixkalman/static/kalman.png

Fixed point Kalman filter library

libfixkalman is a Kalman filter computation library for microcontrollers. It is based on the libfixmatrix and libfixmath libraries, which use 16.16 bit fixed point values. The main focus is processors without an FPU, such as ARM Cortex-M0 or M3.

A ๐Ÿฆ€ Rust variant, albeit not a direct port, is available at `sunsided/minikalman-rs`_.


Matrix inversion in the correction step is implemented using Cholesky decomposition and an optimized inversion algorithm ported from EJML.

See function reference for further details and example_gravity.c for example code.

conan.io

This library now has experimental support for the conan.io package manager and is aimed at CMake. Both libfixmath and libfixmatrix dependencies are available on conan.io and you should be able to verify the package building process by calling:

conan test_package --build

In general, to reference the library you'd provide a conanfile.txt with the following content:

[requires]
libfixkalman/20161008@sunside/stable

which corresponds to this package, where 20161008 could be replaced with the latest version as found via conan search -v libfixkalman* -r=conan.io. You can then just:

conan install

or:

conan install --build

to obtain all required references.

libfixkalman's People

Contributors

bdvd avatar sunsided avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.