chrono::sensor::ChTachometerSensor Class Reference

Description

Tachometer class. This class queries the chrono system for the angular velocity of the parent body.

#include <ChTachometerSensor.h>

Inherits chrono::sensor::ChDynamicSensor.

Public Member Functions

 ChTachometerSensor (std::shared_ptr< chrono::ChBody > parent, float update, chrono::ChFrame< double > offsetPose, Axis axis)
 Class constructor. More...
 
 ~ChTachometerSensor ()
 Class destructor.
 
virtual void PushKeyFrame ()
 
virtual void ClearKeyFrames ()
 

Friends

class ChFilterTachometerUpdate
 

Constructor & Destructor Documentation

◆ ChTachometerSensor()

CH_SENSOR_API chrono::sensor::ChTachometerSensor::ChTachometerSensor ( std::shared_ptr< chrono::ChBody parent,
float  update,
chrono::ChFrame< double >  offsetPose,
Axis  axis 
)

Class constructor.

Parameters
parentBody to which the sensor is attached
updateRate at which the sensor should update.
offsetPoseRelative position and orientation of sensor relative to parent body
axisAxis of rotation to measure (X,Y,Z)

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