|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_DEV_IANALOGSENSOR_H
11 #define YARP_DEV_IANALOGSENSOR_H
95 #endif // YARP_DEV_IANALOGSENSOR_H
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
virtual int getState(int ch)=0
Check the state value of a given channel.
contains the definition of a Vector type
virtual int calibrateSensor()=0
Calibrates the whole sensor.
virtual int calibrateSensor(const yarp::sig::Vector &value)=0
Calibrates the whole sensor, using an vector of calibration values.
virtual int calibrateChannel(int ch, double value)=0
Calibrates one single channel, using a calibration value.
virtual int read(yarp::sig::Vector &out)=0
Read a vector from the sensor.
virtual int calibrateChannel(int ch)=0
Calibrates one single channel.
A generic interface to sensors (gyro, a/d converters).
The main, catch-all namespace for YARP.
virtual int getChannels()=0
Get the number of channels of the sensor.
constexpr yarp::conf::vocab32_t VOCAB_IANALOG