15#ifndef STATEOBSERVER_EXTENDEDKALMANFILTERHPP
16#define STATEOBSERVER_EXTENDEDKALMANFILTERHPP
18#include <state-observation/api.h>
19#include <state-observation/dynamical-system/dynamical-system-functor-base.hpp>
63 bool directInputOutputFeedthrough =
true,
64 bool directInputStateProcessFeedthrough =
true);
80 bool directInputOutputFeedthrough,
81 bool directInputStateProcessFeedthrough);
141 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
153 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
This is the base class of any functor that describes the dynamics of the state and the measurement....
bool directInputStateProcessFeedthrough_
boolean that provides if theris a need of not for input for the state dynamics
void setFunctor(DynamicalSystemFunctorBase *f)
virtual Cmatrix getCMatrixFD(const Vector &dx)
virtual MeasureVector predictSensor_(TimeIndex k)
predicts the measurement using the functor, assumed that the predicted state is up-to-date
void setDirectInputStateFeedthrough(bool b=true)
DynamicalSystemFunctorBase * f_
pointer on the dynamics functor
virtual Amatrix getAMatrixFD(const Vector &dx)
virtual void reset()
Reset the extended kalman filter (call also the reset function of the dynamics functor).
DynamicalSystemFunctorBase * functor() const
Gets a pointer to the functor.
virtual MeasureVector simulateSensor_(const StateVector &x, TimeIndex k)
simulate the dynamic of the measurement using the functor
ExtendedKalmanFilter(Index n, Index m)
bool directInputOutputFeedthrough_
boolean that provides if theris a need of not for input for the masurement
virtual StateVector prediction_(TimeIndex k)
simulate the dynamics of the state using the functor
ExtendedKalmanFilter(Index n, Index m, Index p, bool directInputOutputFeedthrough=true, bool directInputStateProcessFeedthrough=true)
ExtendedKalmanFilter(Index n, Index nt, Index m, Index mt, Index p, bool directInputOutputFeedthrough, bool directInputStateProcessFeedthrough)
void setDirectInputOutputFeedthrough(bool b=true)
Matrix Amatrix
The type of the jacobian df/dx.
KalmanFilterBase()
Default constructor.
Matrix Cmatrix
The type of the jacobian dh/dx.
Vector StateVector
StateVector is the type of state vector.
Vector InputVector
InputVector is the type of the input 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::VectorXd Vector
Dynamic sized scalar vector.