state-observation 1.7.0
Loading...
Searching...
No Matches
stable-imu-fixed-contact-dynamical-system.hpp
Go to the documentation of this file.
1
12#ifndef StableFIXED_CONTACTS_IMU_DYNAMICS_FUNCTOR_HPP
13#define StableFIXED_CONTACTS_IMU_DYNAMICS_FUNCTOR_HPP
14
15#include <vector>
16
17#include <state-observation/api.h>
22
23namespace stateObservation
24{
25namespace flexibilityEstimation
26{
37{
38public:
41
44
45 // stabilization of the acceleration linear
47
48 // stabilization of the acceleration angular
50
54 TimeIndex k);
55
59 TimeIndex k);
60
63
65 virtual void resetProcessNoise();
66
69
72
74 virtual void resetMeasurementNoise();
75
78
80 virtual void setSamplingPeriod(double dt);
81
83 virtual Index getStateSize() const;
85 virtual Index getInputSize() const;
87 virtual Index getMeasurementSize() const;
88
90 virtual void setContactsNumber(unsigned);
91
93 virtual void setContactPosition(unsigned i, const Vector3 & position);
94
95protected:
97
99
101
102 double dt_;
103
106
108
109 static const Index stateSize_ = 18;
110 static const Index inputSize_ = 15;
111 static const Index measurementSizeBase_ = 6;
112
114
115 std::vector<Vector3, Eigen::aligned_allocator<Vector3>> contactPositions_;
116
117private:
118public:
119};
120} // namespace flexibilityEstimation
121} // namespace stateObservation
122
123#endif // FIXED-CONTACTS-IMU-DYNAMICS-FUNCTOR_HPP
Implements the accelerometer-gyrometer inertial measuremen.
Implements the accelerometer-gyrometer measurements.
Definition accelerometer-gyrometer.hpp:36
This is the base class of any functor that describes the dynamics of the state and the measurement....
Definition dynamical-system-functor-base.hpp:33
Definition noise-base.hpp:29
This class describes the dynamics of a robot's flexibility this dynamics is the simplest possible sys...
Definition stable-imu-fixed-contact-dynamical-system.hpp:37
kine::indexes< kine::rotationVector > indexes
Definition stable-imu-fixed-contact-dynamical-system.hpp:96
virtual stateObservation::NoiseBase * getProcessNoise() const
Gets the process noise.
double dt_
Definition stable-imu-fixed-contact-dynamical-system.hpp:102
stateObservation::AccelerometerGyrometer sensor_
Definition stable-imu-fixed-contact-dynamical-system.hpp:98
Index measurementSize_
Definition stable-imu-fixed-contact-dynamical-system.hpp:113
virtual void setSamplingPeriod(double dt)
Set the period of the time discretization.
virtual stateObservation::Vector measureDynamics(const stateObservation::Vector &x, const stateObservation::Vector &u, TimeIndex k)
Description of the sensor's dynamics.
QuaternionUnaligned quaternion_
Definition stable-imu-fixed-contact-dynamical-system.hpp:105
virtual stateObservation::Vector stateDynamics(const stateObservation::Vector &x, const stateObservation::Vector &u, TimeIndex k)
Description of the state dynamics.
virtual void setMeasurementNoise(stateObservation::NoiseBase *)
Sets a noise which disturbs the measurements.
Vector3Unaligned orientationVector_
Definition stable-imu-fixed-contact-dynamical-system.hpp:104
virtual void setContactsNumber(unsigned)
Sets the number of contacts.
virtual stateObservation::NoiseBase * getMeasurementNoise() const
Gets a pointer on the measurement noise.
virtual void setProcessNoise(stateObservation::NoiseBase *)
Sets a noise which disturbs the state dynamics.
virtual Index getMeasurementSize() const
Gets the measurement size.
std::vector< Vector3, Eigen::aligned_allocator< Vector3 > > contactPositions_
Definition stable-imu-fixed-contact-dynamical-system.hpp:115
virtual void setContactPosition(unsigned i, const Vector3 &position)
Sets the position of the contact number i.
stateObservation::NoiseBase * processNoise_
Definition stable-imu-fixed-contact-dynamical-system.hpp:100
Definition bidim-elastic-inv-pendulum-dyn-sys.hpp:21
Eigen::Quaterniond Quaternion
Quaternion.
Definition definitions.hpp:127
long int TimeIndex
Definition definitions.hpp:139
Eigen::Vector3d Vector3
3D vector
Definition definitions.hpp:85
Eigen::MatrixXd Matrix
Dynamic sized Matrix.
Definition definitions.hpp:100
Eigen::Matrix< double, 3, 1, Eigen::DontAlign > Vector3Unaligned
3D vector unaligned
Definition definitions.hpp:88
Eigen::Index Index
Definition definitions.hpp:138
Eigen::VectorXd Vector
Dynamic sized scalar vector.
Definition definitions.hpp:76
Eigen::Quaternion< double, Eigen::DontAlign > QuaternionUnaligned
Quaternion Unaligned.
Definition definitions.hpp:130
Implements integrators for the kinematics, in terms or rotations and translations.
Definition rigid-body-kinematics.hpp:320