20#ifndef STATEOBSERVER_LINEARKALMANFILTERHPP
21#define STATEOBSERVER_LINEARKALMANFILTERHPP
23#include <state-observation/api.h>
130 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
KalmanFilterBase()
Default constructor.
virtual void setD(const Dmatrix &D)
Set the value of the input-measurement matrix.
virtual void setB(const Bmatrix &B)
Set the value of the input-state matrix.
Matrix d_
The container of the Input-State matrix.
Dmatrix getDmatrixConstant(double c) const
Get a matrix having the size of the D matrix having "c" values.
virtual void clearB()
Clear the value of the input-state Matrix.
bool checkDmatrix(const Dmatrix &) const
checks whether or not a matrix has the dimensions of the D matrix
LinearKalmanFilter(Index n, Index m, Index p=0)
Dmatrix getDmatrixRandom() const
Get a matrix having the size of the D matrix having random values.
Bmatrix getBmatrixZero() const
Get a matrix having the size of the B matrix having zero values.
Bmatrix getBmatrixRandom() const
Get a matrix having the size of the B matrix having random values.
virtual void clearD()
Clear the value of the input-measurement matrix.
virtual void setMeasureSize(Index m)
virtual StateVector prediction_(TimeIndex k)
The implementation of the (linear) prediction (state dynamics).
Dmatrix getDmatrixZero() const
Get a matrix having the size of the D matrix having zero values.
virtual void setStateSize(Index n)
Matrix Bmatrix
The type of the matrix linking the input to the state.
LinearKalmanFilter()
Default constructor.
virtual void setInputSize(Index p)
virtual MeasureVector simulateSensor_(const StateVector &x, TimeIndex k)
The implementation of the (linear) measurement (state dynamics).
bool checkBmatrix(const Bmatrix &) const
checks whether or not a matrix has the dimensions of the B matrix
Bmatrix getBmatrixConstant(double c) const
Get a matrix having the size of the B matrix having "c" values.
Matrix Dmatrix
The type of the matrix linking the input to the measurement.
Matrix b_
The container of the Input-Measurement matrix.
Vector StateVector
StateVector is the type of state vector.
Vector MeasureVector
MeasureVector is the type of measurements vector.
Defines the base class of a Kalman filter.
Filtering of divergent component of motion (DCM) and estimation of a bias betweeen the DCM and the co...
Eigen::MatrixXd Matrix
Dynamic sized Matrix.