Core implementation for Kalman.
More...
#include <Kalman.h>
|
CvMat * | F |
| The matrix (n*n) containing the transition model for the internal state. More...
|
|
CvMat * | x |
| The Kalman state vector (n*1) More...
|
|
CvMat * | x_pred |
| Predicted state, TODO: should be protected?! More...
|
|
Core implementation for Kalman.
Definition at line 80 of file Kalman.h.
alvar::KalmanCore::KalmanCore |
( |
const KalmanCore & |
s | ) |
|
alvar::KalmanCore::KalmanCore |
( |
int |
_n | ) |
|
Constructor.
- Parameters
-
_n | The number of items in the Kalman state vector |
Definition at line 90 of file Kalman.cpp.
alvar::KalmanCore::~KalmanCore |
( |
| ) |
|
int alvar::KalmanCore::get_n |
( |
| ) |
|
|
inline |
Accessor for n.
Definition at line 102 of file Kalman.h.
CvMat * alvar::KalmanCore::predict |
( |
| ) |
|
|
virtual |
Predict the Kalman state vector for the given time step . x_pred = F * x.
Definition at line 105 of file Kalman.cpp.
Predict the Kalman state vector and update the state using the constant Kalman gain. x = x_pred + K* ( z - H*x_pred)
Definition at line 110 of file Kalman.cpp.
void alvar::KalmanCore::predict_x |
( |
unsigned long |
tick | ) |
|
|
protectedvirtual |
CvMat* alvar::KalmanCore::F |
The matrix (n*n) containing the transition model for the internal state.
- Examples:
- SampleFilter.cpp.
Definition at line 91 of file Kalman.h.
CvMat* alvar::KalmanCore::F_trans |
|
protected |
CvMat* alvar::KalmanCore::x |
CvMat* alvar::KalmanCore::x_pred |
Predicted state, TODO: should be protected?!
Definition at line 113 of file Kalman.h.
The documentation for this class was generated from the following files: