10#ifndef SIMULATIONACCELEROMETERGYROMETERSENSORHPP
11#define SIMULATIONACCELEROMETERGYROMETERSENSORHPP
13#include <boost/assert.hpp>
16#include <state-observation/api.h>
82 static const Index stateSize_ = 10;
83 static const Index stateSizeMatrix_ = 15;
84 static const Index measurementSize_ = 6;
Gives a base class for algebraic sensors.
Implements the accelerometer-gyrometer measurements.
Definition accelerometer-gyrometer.hpp:36
Vector3 omega_
Definition accelerometer-gyrometer.hpp:74
virtual Vector computeNoiselessMeasurement_()
Index currentStateSize_
Definition accelerometer-gyrometer.hpp:86
bool matrixMode_
Definition accelerometer-gyrometer.hpp:80
Matrix3 r_
Definition accelerometer-gyrometer.hpp:72
void setWithAcceleroBias(bool withAcceleroBias)
Definition accelerometer-gyrometer.hpp:55
virtual ~AccelerometerGyrometer()
Virtual destructor.
Definition accelerometer-gyrometer.hpp:41
void setWithGyroBias(bool withGyroBias)
Definition accelerometer-gyrometer.hpp:49
virtual Index getMeasurementSize_() const
Gets the measurements vector size.
Vector3 acc_
Definition accelerometer-gyrometer.hpp:73
virtual Index getStateSize_() const
Gets the state vector Size.
Vector output_
Definition accelerometer-gyrometer.hpp:75
bool withGyroBias_
Definition accelerometer-gyrometer.hpp:77
bool withAcceleroBias_
Definition accelerometer-gyrometer.hpp:78
void setMatrixMode(bool matrixMode)
Definition accelerometer-gyrometer.hpp:43
AccelerometerGyrometer(bool matrixMode=false, bool withAcceleroBias=false, bool withGyroBias=false)
The base class for algebraic sensors. Algebraic sensors are sensors which depend only on the state va...
Definition algebraic-sensor.hpp:35
Implements the measurements given by an accelerometer.
Definition linear-acceleration.hpp:29
Implements the gyrometer measurement algorithm.
Definition rotation-velocity.hpp:29
Implements the accelerometer algorithm.
Definition bidim-elastic-inv-pendulum-dyn-sys.hpp:21
Eigen::Vector3d Vector3
3D vector
Definition definitions.hpp:85
Eigen::Matrix3d Matrix3
3x3 Scalar Matrix
Definition definitions.hpp:109
Eigen::MatrixXd Matrix
Dynamic sized Matrix.
Definition definitions.hpp:100
Eigen::Index Index
Definition definitions.hpp:138
Eigen::VectorXd Vector
Dynamic sized scalar vector.
Definition definitions.hpp:76
The implementation of the algorithm of a rotation velocity sensor.