|
state-observation 1.7.0
|
This class is the base class of the flexibility estimators that use an extended Kalman Filter. Several methods require to be overloaded to derive an implementation from this base class. More...
#include <state-observation/flexibility-estimation/ekf-flexibility-estimator-base.hpp>


Protected Member Functions | |
| virtual void | setJacobians (const Matrix &A, const Matrix &C) |
| virtual void | useFiniteDifferencesJacobians (Vector dx) |
Protected Attributes | |
| stateObservation::ExtendedKalmanFilter | ekf_ |
| bool | finiteDifferencesJacobians_ |
| Vector | dx_ |
| Vector | lastX_ |
| TimeIndex | k_ |
This class is the base class of the flexibility estimators that use an extended Kalman Filter. Several methods require to be overloaded to derive an implementation from this base class.
| stateObservation::flexibilityEstimation::EKFFlexibilityEstimatorBase::EKFFlexibilityEstimatorBase | ( | Index | stateSize, |
| Index | measurementSize, | ||
| Index | inputSize, | ||
| const Vector & | dx = Vector::Zero(0) |
||
| ) |
The constructor.
|
virtual |
virtual destructor
|
virtual |
Gets a reference on the extended Kalman filter.
|
virtual |
Gets a const reference on the extended Kalman filter.
|
pure virtual |
Gets an estimation of the flexibility in the form of a homogeneous matrix.
Implements stateObservation::flexibilityEstimation::FlexibilityEstimatorBase.
Implemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Gets the covariance matrix of the flexibility.
|
virtual |
Gets an estimation of the flexibility in the form of a state vector \hat{x_{k+1}}.
Reimplemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Get the last vector of inovation of the Kalman filter.
|
virtual |
|
pure virtual |
Gets the input size this method is pure virtual and reauires to be overloaded in implementation
Implemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Get the last simulated measurement.
|
virtual |
Get the last predicted state.
|
virtual |
|
virtual |
|
virtual |
gets the covariance matrices for the sensor noises
Reimplemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
pure virtual |
Gets the measurements size this method is pure virtual and reauires to be overloaded in implementation
Implemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Get the simulated measurement of the predicted state.
|
virtual |
Get the predicted state.
|
virtual |
gets the covariance matrices for the process noises
Reimplemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Gets a simulation of the.
|
pure virtual |
Gets the state size this method is pure virtual and reauires to be overloaded in implementation
Implemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
pure virtual |
Resets the covariance matrices to their original values.
Implemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Sets the covariance matrix of the flexibility Guess.
|
pure virtual |
Sets a value of the flexibility x_k provided from another source can be used for initialization of the estimator This is a pure virtual function that requires to be overloaded in implementation
Implements stateObservation::flexibilityEstimation::FlexibilityEstimatorBase.
Implemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Sets the value of the next input for the state process dynamics i.e. : gives u_k such that x_{k+1} = f(x_k,u_k)
|
protectedvirtual |
|
virtual |
Sets the value of the next sensor measurement y_{k+1}.
Implements stateObservation::flexibilityEstimation::FlexibilityEstimatorBase.
Reimplemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Sets the value of the next measurement i.e. : gives u_{k+1} such that y_{k+1}=h(x_{k+1},u_{k+1})
|
virtual |
Sets the covariance matrices for the sensor noises
Reimplemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
virtual |
Sets the covariance matrices for the process noises
Reimplemented in stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU, and stateObservation::flexibilityEstimation::ModelBaseEKFFlexEstimatorIMU.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |