state-observation 1.7.0
Loading...
Searching...
No Matches
imu-fixed-contact-dynamical-system.hpp
Go to the documentation of this file.
1
12#ifndef FIXED_CONTACTS_IMU_DYNAMICS_FUNCTOR_HPP
13#define FIXED_CONTACTS_IMU_DYNAMICS_FUNCTOR_HPP
14
15#include <vector>
16
17#include <state-observation/api.h>
22
23namespace stateObservation
24{
25namespace flexibilityEstimation
26{
36{
37public:
40
43
47 TimeIndex k);
48
52 TimeIndex k);
53
56
58 virtual void resetProcessNoise();
59
62
65
67 virtual void resetMeasurementNoise();
68
71
73 virtual void setSamplingPeriod(double dt);
74
76 virtual Index getStateSize() const;
78 virtual Index getInputSize() const;
80 virtual Index getMeasurementSize() const;
81
83 virtual void setContactsNumber(unsigned);
84
86 virtual void setContactPosition(unsigned i, const Vector3 & position);
87
88protected:
90
92
94
95 double dt_;
96
99
101
102 static const Index stateSize_ = 18;
103 static const Index inputSize_ = 15;
104 static const Index measurementSizeBase_ = 6;
105
107
108 std::vector<Vector3, Eigen::aligned_allocator<Vector3>> contactPositions_;
109
110private:
111public:
112};
113} // namespace flexibilityEstimation
114} // namespace stateObservation
115
116#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 imu-fixed-contact-dynamical-system.hpp:36
Vector3Unaligned orientationVector_
Definition imu-fixed-contact-dynamical-system.hpp:97
virtual void setContactsNumber(unsigned)
Sets the number of contacts.
std::vector< Vector3, Eigen::aligned_allocator< Vector3 > > contactPositions_
Definition imu-fixed-contact-dynamical-system.hpp:108
kine::indexes< kine::rotationVector > indexes
Definition imu-fixed-contact-dynamical-system.hpp:89
virtual Index getMeasurementSize() const
Gets the measurement size.
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.
virtual void setMeasurementNoise(stateObservation::NoiseBase *)
Sets a noise which disturbs the measurements.
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.
Index measurementSize_
Definition imu-fixed-contact-dynamical-system.hpp:106
virtual void resetMeasurementNoise()
Removes the measurement noise.
stateObservation::NoiseBase * processNoise_
Definition imu-fixed-contact-dynamical-system.hpp:93
virtual stateObservation::Vector stateDynamics(const stateObservation::Vector &x, const stateObservation::Vector &u, TimeIndex k)
Description of the state dynamics.
double dt_
Definition imu-fixed-contact-dynamical-system.hpp:95
QuaternionUnaligned quaternion_
Definition imu-fixed-contact-dynamical-system.hpp:98
stateObservation::AccelerometerGyrometer sensor_
Definition imu-fixed-contact-dynamical-system.hpp:91
virtual stateObservation::NoiseBase * getProcessNoise() const
Gets the process noise.
virtual void setContactPosition(unsigned i, const Vector3 &position)
Sets the position of the contact number i.
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