state-observation 1.7.0
General implementation of observers.
Loading...
Searching...
No Matches
stateObservation::IMUMltpctiveDynamicalSystem Class Reference

The class is an implementation of the dynamical system defined by an inertial measurement unit (IMU) fixed on a rigid body. The state is the position velocity and acceleration and the orientaion and rotation velocity and acceleration. The sensors are the accelerometer and the gyrometer. More...

#include <imu-mltpctive-dynamical-system.hpp>

Inheritance diagram for stateObservation::IMUMltpctiveDynamicalSystem:
[legend]
Collaboration diagram for stateObservation::IMUMltpctiveDynamicalSystem:
[legend]

Classes

struct  opt

Public Member Functions

 IMUMltpctiveDynamicalSystem ()
 The constructor.
virtual ~IMUMltpctiveDynamicalSystem ()
 The virtual destructor.
virtual Vector stateDynamics (const Vector &x, const Vector &u, TimeIndex k)
 Description of the state dynamics.
virtual Vector measureDynamics (const Vector &x, const Vector &u, TimeIndex k)
 Description of the sensor's dynamics.
virtual void setProcessNoise (NoiseBase *)
 Sets a noise which disturbs the state dynamics.
virtual void resetProcessNoise ()
 Removes the process noise.
virtual NoiseBasegetProcessNoise () const
 Gets the process noise.
virtual void setMeasurementNoise (NoiseBase *)
 Sets a noise which disturbs the measurements.
virtual void resetMeasurementNoise ()
 Removes the measurement noise.
virtual NoiseBasegetMeasurementNoise () const
 Gets a pointer on the measurement noise.
virtual void setSamplingPeriod (double dt)
 Set the period of the time discretization.
virtual Matrix getAMatrix (const Vector &xh)
virtual Matrix getCMatrix (const Vector &xp)
virtual Index getStateSize () const
 Gets the state size.
virtual Index getInputSize () const
 Gets the input size.
virtual Index getMeasurementSize () const
 Gets the measurement size.
void stateSum (const Vector &stateVector, const Vector &tangentVector, Vector &sum)
void stateDifference (const Vector &stateVector1, const Vector &stateVector2, Vector &difference)
Public Member Functions inherited from stateObservation::DynamicalSystemFunctorBase
virtual void reset ()
virtual bool checkStateVector (const Vector &)
 Gives a boolean answer on whether or not the vector is correctly sized to be a state vector.
virtual bool checkInputvector (const Vector &)
 Gives a boolean answer on whether or not the vector is correctly sized to be an input vector.
Public Member Functions inherited from stateObservation::StateVectorArithmetics
virtual void measurementDifference (const Vector &measureVector1, const Vector &measureVector2, Vector &difference)

Protected Types

typedef kine::indexes< kine::quaternion > indexes
typedef kine::indexes< kine::rotationVector > indexesTangent

Protected Attributes

struct stateObservation::IMUMltpctiveDynamicalSystem::opt opt_
AccelerometerGyrometer sensor_
NoiseBaseprocessNoise_
double dt_

Static Protected Attributes

static const Index stateSize_ = 19
static const Index stateTangentSize_ = 18
static const Index inputSize_ = 6
static const Index measurementSize_ = 6

Additional Inherited Members

Protected Member Functions inherited from stateObservation::DynamicalSystemFunctorBase
void assertStateVector_ (const Vector &v)
void assertInputVector_ (const Vector &v)

Detailed Description

The class is an implementation of the dynamical system defined by an inertial measurement unit (IMU) fixed on a rigid body. The state is the position velocity and acceleration and the orientaion and rotation velocity and acceleration. The sensors are the accelerometer and the gyrometer.

Definition at line 35 of file imu-mltpctive-dynamical-system.hpp.

Member Typedef Documentation

◆ indexes

typedef kine::indexes<kine::quaternion> stateObservation::IMUMltpctiveDynamicalSystem::indexes
protected

Definition at line 87 of file imu-mltpctive-dynamical-system.hpp.

◆ indexesTangent

typedef kine::indexes<kine::rotationVector> stateObservation::IMUMltpctiveDynamicalSystem::indexesTangent
protected

Definition at line 88 of file imu-mltpctive-dynamical-system.hpp.

Member Function Documentation

◆ stateDynamics()

virtual Vector stateObservation::IMUMltpctiveDynamicalSystem::stateDynamics ( const Vector & x,
const Vector & u,
TimeIndex k )
virtual

Description of the state dynamics.

Implements stateObservation::DynamicalSystemFunctorBase.

◆ measureDynamics()

virtual Vector stateObservation::IMUMltpctiveDynamicalSystem::measureDynamics ( const Vector & x,
const Vector & u,
TimeIndex k )
virtual

Description of the sensor's dynamics.

Implements stateObservation::DynamicalSystemFunctorBase.

◆ getStateSize()

virtual Index stateObservation::IMUMltpctiveDynamicalSystem::getStateSize ( ) const
virtual

Gets the state size.

Implements stateObservation::DynamicalSystemFunctorBase.

◆ getInputSize()

virtual Index stateObservation::IMUMltpctiveDynamicalSystem::getInputSize ( ) const
virtual

Gets the input size.

Implements stateObservation::DynamicalSystemFunctorBase.

◆ getMeasurementSize()

virtual Index stateObservation::IMUMltpctiveDynamicalSystem::getMeasurementSize ( ) const
virtual

Gets the measurement size.

Implements stateObservation::DynamicalSystemFunctorBase.

◆ stateSum()

void stateObservation::IMUMltpctiveDynamicalSystem::stateSum ( const Vector & stateVector,
const Vector & tangentVector,
Vector & sum )
virtual

◆ stateDifference()

void stateObservation::IMUMltpctiveDynamicalSystem::stateDifference ( const Vector & stateVector1,
const Vector & stateVector2,
Vector & difference )
virtual

Member Data Documentation

◆ stateSize_

const Index stateObservation::IMUMltpctiveDynamicalSystem::stateSize_ = 19
staticprotected

Definition at line 83 of file imu-mltpctive-dynamical-system.hpp.

◆ stateTangentSize_

const Index stateObservation::IMUMltpctiveDynamicalSystem::stateTangentSize_ = 18
staticprotected

Definition at line 84 of file imu-mltpctive-dynamical-system.hpp.

◆ inputSize_

const Index stateObservation::IMUMltpctiveDynamicalSystem::inputSize_ = 6
staticprotected

Definition at line 85 of file imu-mltpctive-dynamical-system.hpp.

◆ measurementSize_

const Index stateObservation::IMUMltpctiveDynamicalSystem::measurementSize_ = 6
staticprotected

Definition at line 86 of file imu-mltpctive-dynamical-system.hpp.

◆ sensor_

AccelerometerGyrometer stateObservation::IMUMltpctiveDynamicalSystem::sensor_
protected

Definition at line 112 of file imu-mltpctive-dynamical-system.hpp.

◆ processNoise_

NoiseBase* stateObservation::IMUMltpctiveDynamicalSystem::processNoise_
protected

Definition at line 114 of file imu-mltpctive-dynamical-system.hpp.

◆ dt_

double stateObservation::IMUMltpctiveDynamicalSystem::dt_
protected

Definition at line 116 of file imu-mltpctive-dynamical-system.hpp.


The documentation for this class was generated from the following file: