28 #define AnalyticSys AnalyticSystemModelGaussianUncertainty 29 #define AnalyticMeas AnalyticMeasurementModelGaussianUncertainty 34 , _x(prior->DimensionGet())
35 , _J(prior->DimensionGet())
36 , _F(prior->DimensionGet(),prior->DimensionGet())
37 , _Q(prior->DimensionGet())
46 unsigned int meas_dimension;
47 for(
int i = 0 ; i< meas_dimensions.size(); i++)
50 meas_dimension = meas_dimensions[i];
56 (std::pair<unsigned int, MeasUpdateVariablesExt>( meas_dimension,
MeasUpdateVariablesExt(meas_dimension,
_x.rows()) ))).first;
70 (std::pair<unsigned int, MeasUpdateVariablesExt>( meas_dimension,
MeasUpdateVariablesExt(meas_dimension,
_x.rows()) ))).first;
76 const ColumnVector& u)
88 const ColumnVector& z,
89 const ColumnVector& s)
void AllocateMeasModelExt(const vector< unsigned int > &meas_dimensions)
Function to allocate memory needed during the measurement update,.
virtual void SysUpdate(SystemModel< MatrixWrapper::ColumnVector > *const sysmodel, const MatrixWrapper::ColumnVector &u)
System Update.
Class representing Gaussian (or normal density)
std::map< unsigned int, MeasUpdateVariablesExt >::iterator _mapMeasUpdateVariablesExt_it
Pdf< MatrixWrapper::ColumnVector > * _post
Pointer to the Posterior Pdf.
virtual void MeasUpdate(MeasurementModel< MatrixWrapper::ColumnVector, MatrixWrapper::ColumnVector > *const measmodel, const MatrixWrapper::ColumnVector &z, const MatrixWrapper::ColumnVector &s)
Measurement Update (overloaded)
virtual ~ExtendedKalmanFilter()
Destructor.
ExtendedKalmanFilter(Gaussian *prior)
Class representing the family of all Kalman Filters (EKF, IEKF, ...)
void CalculateSysUpdate(const MatrixWrapper::ColumnVector &J, const MatrixWrapper::Matrix &F, const MatrixWrapper::SymmetricMatrix &Q)
std::map< unsigned int, MeasUpdateVariablesExt > _mapMeasUpdateVariablesExt
void CalculateMeasUpdate(const MatrixWrapper::ColumnVector &z, const MatrixWrapper::ColumnVector &Z, const MatrixWrapper::Matrix &H, const MatrixWrapper::SymmetricMatrix &R)
virtual T ExpectedValueGet() const
Get the expected value E[x] of the pdf.