A generic interface to a virtual sensors. More...
#include <yarp/dev/IVirtualAnalogSensor.h>
Public Member Functions | |
virtual | ~IVirtualAnalogSensor () |
virtual VAS_status | getVirtualAnalogSensorStatus (int ch)=0 |
Check the status of a given channel. More... | |
virtual int | getVirtualAnalogSensorChannels ()=0 |
Get the number of channels of the virtual sensor. More... | |
virtual bool | updateVirtualAnalogSensorMeasure (yarp::sig::Vector &measure)=0 |
Set a vector of torque values for virtual sensor. More... | |
virtual bool | updateVirtualAnalogSensorMeasure (int ch, double &measure)=0 |
A generic interface to a virtual sensors.
A virtual sensor is any device that can generate values used as a measure by robot
Definition at line 48 of file IVirtualAnalogSensor.h.
|
inlinevirtual |
Definition at line 52 of file IVirtualAnalogSensor.h.
|
pure virtual |
Get the number of channels of the virtual sensor.
Implemented in yarp::dev::ImplementVirtualAnalogSensor.
|
pure virtual |
Check the status of a given channel.
ch | channel number. |
Implemented in yarp::dev::ImplementVirtualAnalogSensor.
|
pure virtual |
Implemented in yarp::dev::ImplementVirtualAnalogSensor.
|
pure virtual |
Set a vector of torque values for virtual sensor.
measure | a vector containing the sensor's last readings. |
Implemented in yarp::dev::ImplementVirtualAnalogSensor.