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
-
parent Body to which the sensor is attached update Rate at which the sensor should update. offsetPose Relative position and orientation of sensor relative to parent body axis Axis 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