Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

otUKF Class Reference
[Unscented Kalman Filter, Unscented Kalman Filter]

Unscented Kalman Filter.

#include <otUKF.h>


Public Member Functions

 otUKF ()
void create (otMatrix &XInit, otMatrix &P, otMatrix &Rv, otMatrix &Rn, bool(*bNonlinearUpdateX)(otMatrix &, otMatrix &, otMatrix &), bool(*bNonlinearUpdateY)(otMatrix &, otMatrix &, otMatrix &))
void vReset (otMatrix &XInit, otMatrix &P, otMatrix &Rv, otMatrix &Rn)
bool bUpdate (otMatrix &Y, otMatrix &U)
otMatrix GetX ()
otMatrix GetY ()
otMatrix GetP ()
otMatrix GetErr ()
void close ()

Protected Member Functions

bool bCalculateSigmaPoint ()
bool bUnscentedTransform (otMatrix &Out, otMatrix &OutSigma, otMatrix &P, otMatrix &DSig, bool(*_vFuncNonLinear)(otMatrix &xOut, otMatrix &xInp, otMatrix &U), otMatrix &InpSigma, otMatrix &InpVector, otMatrix &_CovNoise)


Constructor & Destructor Documentation

otUKF.otUKF (   ) 
 

Create the class


Member Function Documentation

bool otUKF.bCalculateSigmaPoint (   )  [protected]
 

bool otUKF.bUnscentedTransform (  otMatrix &  Out,
otMatrix &  OutSigma,
otMatrix &  P,
otMatrix &  DSig,
bool(*)(otMatrix &xOut, otMatrix &xInp, otMatrix &U)  _vFuncNonLinear,
otMatrix &  InpSigma,
otMatrix &  InpVector,
otMatrix &  _CovNoise
)  [protected]
 

bool otUKF.bUpdate (  otMatrix &  Y,
otMatrix &  U
) 
 

Run once every sampling time

void otUKF.close (   ) 
 

void otUKF.create (  otMatrix &  XInit,
otMatrix &  P,
otMatrix &  Rv,
otMatrix &  Rn,
bool(*)(otMatrix &, otMatrix &, otMatrix &)  bNonlinearUpdateX,
bool(*)(otMatrix &, otMatrix &, otMatrix &)  bNonlinearUpdateY
) 
 

Initialization: P (k=0|k=0) = Identitas * covariant(P(k=0)), typically initialized with some big number. x(k=0|k=0) = Expected value of x at time-0 (i.e. x(k=0)), typically set to zero. Rv, Rn = Covariance matrices of process & measurement. As this implementation the noise as AWGN (and same value for every variable), this is set to Rv=diag(RvInit,...,RvInit) and Rn=diag(RnInit,...,RnInit).

otMatrix otUKF.GetErr (   ) 
 

otMatrix otUKF.GetP (   ) 
 

Return Predicted state estimate

otMatrix otUKF.GetX (   ) 
 

otMatrix otUKF.GetY (   ) 
 

void otUKF.vReset (  otMatrix &  XInit,
otMatrix &  P,
otMatrix &  Rv,
otMatrix &  Rn
) 
 


The documentation for this class was generated from the following file: footer
otStudio - Library Reference - (C) 2020-25 Officina Turini, All Rights Reserved
Document built with Doxygen 1.4.0