Implements the accelerometer-gyrometer measurements. More...
#include <state-observation/sensors-simulation/accelerometer-gyrometer.hpp>
Public Member Functions | |
AccelerometerGyrometer (bool matrixMode=false, bool withAcceleroBias=false, bool withGyroBias=false) | |
virtual | ~AccelerometerGyrometer () |
Virtual destructor. More... | |
void | setMatrixMode (bool matrixMode) |
void | setWithGyroBias (bool withGyroBias) |
void | setWithAcceleroBias (bool withAcceleroBias) |
![]() | |
AlgebraicSensor () | |
Default constructor. More... | |
virtual | ~AlgebraicSensor () |
virtual destructor More... | |
virtual Vector | getMeasurements (bool noisy=true) |
virtual void | setState (const Vector &state, TimeIndex k) |
Sets the value of the state at instant k. More... | |
virtual TimeIndex | getTime () const |
gets the current time More... | |
virtual Index | getStateSize () const |
gets the state vector size. Pure virtual method. More... | |
virtual Index | getMeasurementSize () const |
get the size of the measurements. Pure virtual method. More... | |
virtual Index | concatenateWithInput (Index n) |
![]() | |
SensorBase () | |
default constructor More... | |
virtual | ~SensorBase () |
virtual destructor More... | |
virtual void | setNoise (NoiseBase *) |
virtual NoiseBase * | getNoise () const |
gets the pointer on the measurements noise More... | |
virtual void | resetNoise () |
removes the noise More... | |
virtual Vector | stateVectorZero () const |
gets a zero vector of the size of a state vector More... | |
virtual bool | checkStateVector (const Vector &) const |
checks whether a vector is correctly sized or not More... | |
Protected Member Functions | |
virtual Index | getStateSize_ () const |
Gets the state vector Size. More... | |
virtual Index | getMeasurementSize_ () const |
Gets the measurements vector size. More... | |
virtual Vector | computeNoiselessMeasurement_ () |
void | updateStateSize_ () |
![]() | |
Vector | computeNoisyMeasurement_ () |
virtual void | checkState_ (const Vector &) |
![]() | |
virtual | ~LinearAcceleration () |
virtual destructor More... | |
Vector3 | accelerationMeasure (const Vector3 &acceleration, const Matrix3 &orientation) const |
The acceleration measurement in the local frame represented by the orientation Matrix. More... | |
![]() | |
virtual | ~RotationVelocity () |
virtual destructor More... | |
Vector3 | rotationVelocityMeasure (const Vector3 &angVelocityVector, const Matrix3 &orientation) const |
The angular velocity measurement in the local frame represented by the orientation Matrix. More... | |
Protected Attributes | |
Matrix3 | r_ |
Vector3 | acc_ |
Vector3 | omega_ |
Vector | output_ |
bool | withGyroBias_ |
bool | withAcceleroBias_ |
bool | matrixMode_ |
Index | currentStateSize_ |
![]() | |
TimeIndex | time_ |
Index | concat_ |
Vector | state_ |
Vector | directInputToOutput_ |
bool | storedNoisyMeasurement_ |
Vector | noisyMeasurement_ |
bool | storedNoiselessMeasurement_ |
Vector | noiselessMeasurement_ |
![]() | |
NoiseBase * | noise_ |
Static Protected Attributes | |
static const Index | stateSize_ = 10 |
static const Index | stateSizeMatrix_ = 15 |
static const Index | measurementSize_ = 6 |
Implements the accelerometer-gyrometer measurements.
stateObservation::AccelerometerGyrometer::AccelerometerGyrometer | ( | bool | matrixMode = false , |
bool | withAcceleroBias = false , |
||
bool | withGyroBias = false |
||
) |
|
inlinevirtual |
Virtual destructor.
|
protectedvirtual |
the actual algorithm for the computation of the measurements, must be overloaded to implement any sensor
Implements stateObservation::AlgebraicSensor.
|
protectedvirtual |
Gets the measurements vector size.
Implements stateObservation::AlgebraicSensor.
|
protectedvirtual |
Gets the state vector Size.
Implements stateObservation::AlgebraicSensor.
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |