Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::lines::ConstPositionKF Class Reference

Kalman filter for an one dimensional constant position model. More...


Detailed Description

Kalman filter for an one dimensional constant position model.

This class provides a Kalman filter for an one dimensional constant position model. It's a simple one dimensional Kalman filter.

Definition at line 12 of file constPositionKF.hpp.

#include <constPositionKF.hpp>

List of all members.

Public Member Functions

void initKF (double initPos, double initVar)
 Initialices the Kalman filter with initPos and initVar.
void updateKF (double y, double sigmaY, double sigmaV)
 Updates the Kalman Filter and updates the prediction for the next step (see getPred())
void getPred (double &pos, double &c11)
 Provides a state prediction with its variance.
double getPosPred ()
 Provides a state prediction.
double getPosVar ()
 Provides the variance of the state prediction.

Private Attributes

double x1
double cov11
 > position
double x1Pred
 > variance position
double cov11Pred
 > position prediction

Member Function Documentation

void jafar::lines::ConstPositionKF::updateKF ( double  y,
double  sigmaY,
double  sigmaV 
)

Updates the Kalman Filter and updates the prediction for the next step (see getPred())

Parameters:
yis the new measurement for the position
sigmaYis the variance of the measurement
sigmaVis the process noise and weights the old measurements

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:42 for Jafar by doxygen 1.7.6.1
LAAS-CNRS