Skip to content

Struct inertialsim::sensors::InertialSensorModelView

ClassList > inertialsim > sensors > InertialSensorModelView

View of InertialSensorModel forIMU composition.More...

  • #include <imu_model.h>

Public Functions

Type Name
InertialSensorModelView (InertialSensorModel & model)
Construct a view of an InertialSensorModel .
SensorModel::Bias & bias ()
const SensorModel::Bias & bias () const
SensorModel::InputLimits & input_limits ()
const SensorModel::InputLimits & input_limits () const
SensorModel::Misalignment & misalignment ()
const SensorModel::Misalignment & misalignment () const
InertialSensorModel::Noise & noise ()
const InertialSensorModel::Noise & noise () const
void reset ()
Reset model parameters to their defaults.
SensorModel::ScaleFactor & scale_factor ()
const SensorModel::ScaleFactor & scale_factor () const
void set_all (bool value)
Set all boolean model parameters.

Detailed Description

Provides access to all InertialSensorModel members except data_interface, which is managed at the IMU level. This prevents accidental modification of individual sensor data interfaces when they should be shared across the IMU's gyro and accelerometer.

This view acts as a proxy that exposes references to the underlying model's members, allowing direct manipulation of all sensor properties except the data interface.

Public Functions Documentation

function InertialSensorModelView

Construct a view of an InertialSensorModel .

inline explicit inertialsim::sensors::InertialSensorModelView::InertialSensorModelView (
    InertialSensorModel & model
) 

Parameters:

  • model Reference to the underlying model.

function bias [½]

inline SensorModel::Bias & inertialsim::sensors::InertialSensorModelView::bias () 

function bias [2/2]

inline const SensorModel::Bias & inertialsim::sensors::InertialSensorModelView::bias () const

function input_limits [½]

inline SensorModel::InputLimits & inertialsim::sensors::InertialSensorModelView::input_limits () 

function input_limits [2/2]

inline const SensorModel::InputLimits & inertialsim::sensors::InertialSensorModelView::input_limits () const

function misalignment [½]

inline SensorModel::Misalignment & inertialsim::sensors::InertialSensorModelView::misalignment () 

function misalignment [2/2]

inline const SensorModel::Misalignment & inertialsim::sensors::InertialSensorModelView::misalignment () const

function noise [½]

inline InertialSensorModel::Noise & inertialsim::sensors::InertialSensorModelView::noise () 

function noise [2/2]

inline const InertialSensorModel::Noise & inertialsim::sensors::InertialSensorModelView::noise () const

function reset

Reset model parameters to their defaults.

inline void inertialsim::sensors::InertialSensorModelView::reset () 


function scale_factor [½]

inline SensorModel::ScaleFactor & inertialsim::sensors::InertialSensorModelView::scale_factor () 

function scale_factor [2/2]

inline const SensorModel::ScaleFactor & inertialsim::sensors::InertialSensorModelView::scale_factor () const

function set_all

Set all boolean model parameters.

inline void inertialsim::sensors::InertialSensorModelView::set_all (
    bool value
) 

Parameters:

  • value true or false.


The documentation for this class was generated from the following file cpp/include/inertialsim/sensors/imu_model.h