fixed-contact-ekf-flex-estimator-imu.hpp
Go to the documentation of this file.
1 
13 #ifndef FLEXBILITYESTMATOR_FIXEDCONTACTEKFFLEXIBILITYESTIMATOR_IMU_H
14 #define FLEXBILITYESTMATOR_FIXEDCONTACTEKFFLEXIBILITYESTIMATOR_IMU_H
15 
16 #include <state-observation/api.h>
19 
20 namespace stateObservation
21 {
22 namespace flexibilityEstimation
23 {
24 
36 class STATE_OBSERVATION_DLLAPI FixedContactEKFFlexEstimatorIMU : public EKFFlexibilityEstimatorBase,
37  private boost::noncopyable
38 {
39 public:
41  explicit FixedContactEKFFlexEstimatorIMU(double dt = 0.005);
42 
45 
47  void setContactsNumber(unsigned i);
48 
50  void setContactPosition(unsigned i, Vector3 position);
51 
53  virtual void setMeasurement(const Vector & y);
54 
56  virtual void setVirtualMeasurementsCovariance(double c_);
57 
59  virtual double getVirtualMeasurementsCovariance() const;
60 
62  virtual void setProcessNoiseCovariance(const Matrix & Q);
63 
65  virtual void setMeasurementNoiseCovariance(const Matrix & R);
66 
68  virtual Matrix getProcessNoiseCovariance() const;
69 
71  virtual Matrix getMeasurementNoiseCovariance() const;
72 
75  virtual void setFlexibilityGuess(const Matrix & x);
76 
78  virtual Matrix4 getFlexibility();
79 
81  virtual const Vector & getFlexibilityVector();
82 
83  virtual Index getMeasurementSize() const;
84 
85  virtual Index getStateSize() const;
86 
87  virtual Index getInputSize() const;
88 
90  virtual void setSamplingPeriod(double);
91 
93  virtual void resetCovarianceMatrices();
94 
95 protected:
97 
98  virtual void updateCovarianceMatrix_();
99 
101 
103 
104  Matrix R_, Q_;
105 
106  static const Index stateSizeConst_ = 18;
107  static const Index measurementSizeConst_ = 6;
108  static const Index inputSizeConst_ = 15;
109 
110  double dt_; // sampling period
111 
112 private:
113 };
114 
115 } // namespace flexibilityEstimation
116 } // namespace stateObservation
117 #endif // FLEXBILITYESTMATOR_FIXEDCONTACTEKFFLEXIBILITYESTIMATOR_H
stateObservation::Vector
Eigen::VectorXd Vector
Dynamic sized scalar vector.
Definition: definitions.hpp:76
stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU::indexes
kine::indexes< kine::rotationVector > indexes
Definition: fixed-contact-ekf-flex-estimator-imu.hpp:96
stateObservation::Matrix4
Eigen::Matrix4d Matrix4
4x4 Scalar Matrix
Definition: definitions.hpp:115
stateObservation::kine::indexes< kine::rotationVector >
stateObservation::flexibilityEstimation::EKFFlexibilityEstimatorBase
This class is the base class of the flexibility estimators that use an extended Kalman Filter....
Definition: ekf-flexibility-estimator-base.hpp:35
stateObservation::Matrix
Eigen::MatrixXd Matrix
Dynamic sized Matrix.
Definition: definitions.hpp:100
stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU::virtualMeasurementCovariance_
double virtualMeasurementCovariance_
Definition: fixed-contact-ekf-flex-estimator-imu.hpp:102
stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU
This class implements the flexibility estimation of a robot with the hypothesis that the contact posi...
Definition: fixed-contact-ekf-flex-estimator-imu.hpp:36
imu-fixed-contact-dynamical-system.hpp
Definitions of the dynamical system of a robot flexibility with an IMU sensor.
stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU::R_
Matrix R_
Definition: fixed-contact-ekf-flex-estimator-imu.hpp:104
stateObservation::Index
Eigen::Index Index
Definition: definitions.hpp:138
stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU::dt_
double dt_
Definition: fixed-contact-ekf-flex-estimator-imu.hpp:110
stateObservation::flexibilityEstimation::FixedContactEKFFlexEstimatorIMU::functor_
IMUFixedContactDynamicalSystem functor_
Definition: fixed-contact-ekf-flex-estimator-imu.hpp:100
stateObservation::flexibilityEstimation::IMUFixedContactDynamicalSystem
This class describes the dynamics of a robot's flexibility this dynamics is the simplest possible sys...
Definition: imu-fixed-contact-dynamical-system.hpp:35
stateObservation::Vector3
Eigen::Vector3d Vector3
3D vector
Definition: definitions.hpp:85
stateObservation
Definition: bidim-elastic-inv-pendulum-dyn-sys.hpp:20
ekf-flexibility-estimator-base.hpp
Declare the class of the flexibility estimation using the extended Kalman Filter.