Orocos Real-Time Toolkit
2.9.0
|
A class representing an analog input channel. More...
#include <rtt/extras/dev/AnalogInput.hpp>
Public Member Functions | |
AnalogInput (AnalogInInterface *ana_in, unsigned int channel_nr) | |
Create an analog input object to read the state of a channel. More... | |
~AnalogInput () | |
Destruct the AnalogInput. More... | |
double | value () const |
Read the value of this channel. More... | |
int | rawValue () const |
Read the raw value of this channel. More... | |
A class representing an analog input channel.
Definition at line 51 of file AnalogInput.hpp.
|
inline |
Create an analog input object to read the state of a channel.
ana_in | The analog input device to use to read the status. |
channel_nr | The channel number to use on the device. |
Definition at line 60 of file AnalogInput.hpp.
|
inline |
Destruct the AnalogInput.
Definition at line 68 of file AnalogInput.hpp.
|
inline |
Read the raw value of this channel.
Definition at line 83 of file AnalogInput.hpp.
|
inline |
Read the value of this channel.
Definition at line 73 of file AnalogInput.hpp.