chrono::sensor::ChAccelerometerSensor Class Reference

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>

Inherits chrono::sensor::ChDynamicSensor.

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. More...
 
 ~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
parentBody to which the sensor is attached.
updateRateRate at which the sensor should update.
offsetPoseRelative position and orientation of the sensor with respect to its parent object.
noise_modelNoise model for the sensor to use when augmentating data

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_sensor/sensors/ChIMUSensor.h
  • /builds/uwsbel/chrono/src/chrono_sensor/sensors/ChIMUSensor.cpp