This is the base class of any functor that describes the dynamics of the state and the measurement. This class is to be derived in order to be given to the Extended Kalman Filter. More...
#include <state-observation/dynamical-system/dynamical-system-functor-base.hpp>
Public Member Functions | |
DynamicalSystemFunctorBase () | |
virtual | ~DynamicalSystemFunctorBase () |
virtual Vector | stateDynamics (const Vector &x, const Vector &u, TimeIndex k)=0 |
The function to overload to describe the dynamics of the state. More... | |
virtual Vector | measureDynamics (const Vector &x, const Vector &u, TimeIndex k)=0 |
The function to overload to describe the dynamics of the sensor (measurements) More... | |
virtual void | reset () |
virtual Index | getStateSize () const =0 |
gets the state size More... | |
virtual Index | getInputSize () const =0 |
gets the input size More... | |
virtual Index | getMeasurementSize () const =0 |
gets the measurements size More... | |
virtual bool | checkStateVector (const Vector &) |
Gives a boolean answer on whether or not the vector is correctly sized to be a state vector. More... | |
virtual bool | checkInputvector (const Vector &) |
Gives a boolean answer on whether or not the vector is correctly sized to be an input vector. More... | |
Protected Member Functions | |
void | assertStateVector_ (const Vector &v) |
void | assertInputVector_ (const Vector &v) |
This is the base class of any functor that describes the dynamics of the state and the measurement. This class is to be derived in order to be given to the Extended Kalman Filter.
stateObservation::DynamicalSystemFunctorBase::DynamicalSystemFunctorBase | ( | ) |
|
virtual |
|
inlineprotected |
|
inlineprotected |
|
virtual |
Gives a boolean answer on whether or not the vector is correctly sized to be an input vector.
|
virtual |
Gives a boolean answer on whether or not the vector is correctly sized to be a state vector.
|
pure virtual |
gets the input size
Implemented in stateObservation::KineticsObserver, stateObservation::flexibilityEstimation::IMUElasticLocalFrameDynamicalSystem, stateObservation::flexibilityEstimation::StableIMUFixedContactDynamicalSystem, stateObservation::flexibilityEstimation::IMUFixedContactDynamicalSystem, stateObservation::IMUMltpctiveDynamicalSystem, stateObservation::IMUMagnetometerDynamicalSystem, stateObservation::IMUDynamicalSystem, and stateObservation::BidimElasticInvPendulum.
|
pure virtual |
gets the measurements size
Implemented in stateObservation::KineticsObserver, stateObservation::flexibilityEstimation::IMUElasticLocalFrameDynamicalSystem, stateObservation::flexibilityEstimation::StableIMUFixedContactDynamicalSystem, stateObservation::flexibilityEstimation::IMUFixedContactDynamicalSystem, stateObservation::IMUMltpctiveDynamicalSystem, stateObservation::IMUMagnetometerDynamicalSystem, stateObservation::IMUDynamicalSystem, and stateObservation::BidimElasticInvPendulum.
|
pure virtual |
gets the state size
Implemented in stateObservation::KineticsObserver, stateObservation::flexibilityEstimation::IMUElasticLocalFrameDynamicalSystem, stateObservation::flexibilityEstimation::StableIMUFixedContactDynamicalSystem, stateObservation::flexibilityEstimation::IMUFixedContactDynamicalSystem, stateObservation::IMUMltpctiveDynamicalSystem, stateObservation::IMUMagnetometerDynamicalSystem, stateObservation::IMUDynamicalSystem, and stateObservation::BidimElasticInvPendulum.
|
pure virtual |
The function to overload to describe the dynamics of the sensor (measurements)
Implemented in stateObservation::KineticsObserver, stateObservation::IMUMagnetometerDynamicalSystem, stateObservation::IMUMltpctiveDynamicalSystem, stateObservation::IMUDynamicalSystem, stateObservation::BidimElasticInvPendulum, stateObservation::flexibilityEstimation::IMUElasticLocalFrameDynamicalSystem, stateObservation::flexibilityEstimation::StableIMUFixedContactDynamicalSystem, and stateObservation::flexibilityEstimation::IMUFixedContactDynamicalSystem.
|
inlinevirtual |
The method to overload if the functor needs to be reset when the Exteded Kalman filter is reset itself
|
pure virtual |
The function to overload to describe the dynamics of the state.
Implemented in stateObservation::KineticsObserver, stateObservation::IMUMagnetometerDynamicalSystem, stateObservation::IMUMltpctiveDynamicalSystem, stateObservation::IMUDynamicalSystem, stateObservation::BidimElasticInvPendulum, stateObservation::flexibilityEstimation::IMUElasticLocalFrameDynamicalSystem, stateObservation::flexibilityEstimation::StableIMUFixedContactDynamicalSystem, and stateObservation::flexibilityEstimation::IMUFixedContactDynamicalSystem.