AnalogSensor Class Reference

A SensorInterface which reads its data from an analog channel. More...

#include <AnalogSensor.hpp>

List of all members.

Public Member Functions

 AnalogSensor (RTT::AnalogInput *_ain, double _min_meas, double _max_meas, double _scale=1.0, double _offset=0.0)
 Create an AnalogSensor, connected to an AnalogInput, with a minimal and maximal measurement value.
virtual int readSensor (double &p) const
virtual double readSensor () const
virtual double maxMeasurement () const
virtual double minMeasurement () const
virtual double zeroMeasurement () const

Detailed Description

A SensorInterface which reads its data from an analog channel.

Definition at line 42 of file AnalogSensor.hpp.


Constructor & Destructor Documentation

AnalogSensor ( RTT::AnalogInput *  _ain,
double  _min_meas,
double  _max_meas,
double  _scale = 1.0,
double  _offset = 0.0 
) [inline]

Create an AnalogSensor, connected to an AnalogInput, with a minimal and maximal measurement value.

A scale and offset are used to convert the analog signal to the measurement.

Definition at line 56 of file AnalogSensor.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 15:05:28 2010 for OrocosComponentLibrary by  doxygen 1.6.3