My Project
Public Member Functions | Static Public Member Functions | List of all members
KalmanVisualize Class Reference

Class for visualizing Kalman filter. More...

#include <Kalman.h>

Public Member Functions

 KalmanVisualize (Kalman *_kalman, KalmanSensor *_sensor)
 Constructor for full Kalman implementation.
 
 KalmanVisualize (KalmanCore *_kalman, KalmanSensorCore *_sensor)
 Constructor for core Kalman implementation (not all visualizations possible)
 
 ~KalmanVisualize ()
 Destructor.
 
void update_pre ()
 Update the visualization image - call this before the Kalman's predict_update.
 
void update_post ()
 Update the visualization image - call this after the Kalman's predict_update.
 
void show ()
 Show the genrated visualization image.
 

Static Public Member Functions

static void out_matrix (const cv::Mat &m, char *name)
 Helper method for outputting matrices (for debug purposes)
 

Detailed Description

Class for visualizing Kalman filter.

Usage:

KalmanVisualize kvis(&kalman, &sensor);
...
kvis.update_pre();
kalman.predict_update(&sensor);
kvis.update_post();
kvis.show();
cv::Mat & predict_update(KalmanSensorCore *sensor)
Predict the Kalman state vector and update the state using the constant Kalman gain....
KalmanVisualize(Kalman *_kalman, KalmanSensor *_sensor)
Constructor for full Kalman implementation.

Definition at line 303 of file Kalman.h.


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