Project Chrono: chrono::sensor::ChAccelerometerSensor Class Reference

Public Member Functions | Friends | List of all members
chrono::sensor::ChAccelerometerSensor Class Reference
SENSOR module » Sensors

## Description

Accelerometer class.

The data is collected from the physical quantities computed for the parent object accounting for the offset pose. This sensor operates in lock-step with the Chrono simulation.

`#include <ChIMUSensor.h>`

## Public Member Functions
| ChAccelerometerSensor (std::shared_ptr< chrono::ChBody > parent, float updateRate, chrono::ChFrame< double > offsetPose, std::shared_ptr< ChNoiseModel > noise_model)
| Class constructor for an accelerometer sensor.
| ~ChAccelerometerSensor ()
| Class destructor.
virtual void | PushKeyFrame ()
virtual void | ClearKeyFrames ()

## Friends
class | ChFilterAccelerometerUpdate

## Constructor & Destructor Documentation

## ◆ ChAccelerometerSensor()

CH_SENSOR_API chrono::sensor::ChAccelerometerSensor::ChAccelerometerSensor | ( | std::shared_ptr< chrono::ChBody > | parent,
|  | float | updateRate,
|  | chrono::ChFrame< double > | offsetPose,
|  | std::shared_ptr< ChNoiseModel > | noise_model )

Class constructor for an accelerometer sensor.

Parameters

  parent | Body to which the sensor is attached.
  updateRate | Rate at which the sensor should update.
  offsetPose | Relative position and orientation of the sensor with respect to its parent object.
  noise_model | Noise model for the sensor to use when augmentating data

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

- D:/W/B/src/chrono-9.0.1/src/chrono_sensor/sensors/ChIMUSensor.h
- D:/W/B/src/chrono-9.0.1/src/chrono_sensor/sensors/ChIMUSensor.cpp