My Project
Ekf Class Reference

A generic implementation of an Extended Kalman Filter (EKF). More...

#include <ekf.hpp>

Detailed Description

A generic implementation of an Extended Kalman Filter (EKF).

This class provides the core EKF functionality, including state prediction and update steps for nonlinear systems. It supports dynamic system models and allows for numerical differentiation of Jacobians for both state transition and measurement functions.

You must provide several key functions and data to ensure the filter works properly:

The EKF will then handle the state prediction, measurement update, and state covariance estimation.

The filter supports multiple types of sensors, with each sensor having its own measurement function and Jacobian. The number of sensor types (z_num) can be customized, allowing for flexibility in handling various measurements within the same filter.

The class also supports numerical differentiation for computing Jacobians if analytical expressions are not available, making it versatile for different models.

Template Parameters
x_dimThe dimension of the state vector.
u_dimThe dimension of the control input vector.
c_dimThe dimension of the system parameters (default is 1).
z_numThe number of measurement types (default is 1).
TThe data type used for calculations (default is float).

The documentation for this class was generated from the following file: