This is a very lightweight implementation of the EKF in C++ using Eigen
This library lets you create a standard Kalman Filter by simply inputting the matrices that model your system.
There is an optinal overload to make it an EKF, by inputting a function pointer to the non-linear function you want to use, but you still need to give it the linearized versions of the functions in the form of the A and D matrices.
- Automatically compute the linearized matrices instead of having to put them in when passing in the non-linear function.
- C++17
- Eigen 3.3+
To use this library, just add the hpp and cpp files to your project and add to your cmake.
First, create the EKF object, and then the computeKF with the obeservations and inputs. The function will return the state vector.