![]() |
ProtoTracer
1.0
Real-time 3D rendering and animation engine
|
Implements a generic Kalman Filter for 1D data. More...
#include <KalmanFilter.h>
Public Member Functions | |
KalmanFilter (T processNoise, T sensorNoise, T errorCovariance) | |
Constructs a KalmanFilter with specified noise parameters. | |
T | Filter (T value) |
Filters the given input value using the Kalman Filter algorithm. | |
Private Attributes | |
T | processNoise |
The process noise variance. | |
T | sensorNoise |
The sensor noise variance. | |
T | estimation |
The current estimation of the value. | |
T | errorCovariance |
The error covariance of the estimation. | |
Implements a generic Kalman Filter for 1D data.
This class provides a template-based implementation of a Kalman Filter for filtering noisy data. It estimates the true value by accounting for process noise and sensor noise.
T | The numeric type for the filter (e.g., float , double ). |
Definition at line 26 of file KalmanFilter.h.
Constructs a KalmanFilter
with specified noise parameters.
processNoise | The process noise variance. |
sensorNoise | The sensor noise variance. |
errorCovariance | The initial error covariance. |
Filters the given input value using the Kalman Filter algorithm.
value | The noisy input value to be filtered. |
Referenced by GammaAnimation::Update().
The error covariance of the estimation.
Definition at line 31 of file KalmanFilter.h.
The current estimation of the value.
Definition at line 30 of file KalmanFilter.h.
The process noise variance.
Definition at line 28 of file KalmanFilter.h.
The sensor noise variance.
Definition at line 29 of file KalmanFilter.h.