Device interface to one or more groups (patches) of tactile sensors (skin). More...
#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
Public Member Functions | |
virtual size_t | getNrOfSkinPatches () const =0 |
Get the number of skin patches exposed by this device. More... | |
virtual yarp::dev::MAS_status | getSkinPatchStatus (size_t sens_index) const =0 |
Get the status of the specified sensor. More... | |
virtual bool | getSkinPatchName (size_t sens_index, std::string &name) const =0 |
Get the name of the specified sensor. More... | |
virtual bool | getSkinPatchMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const =0 |
Get the last reading of the specified sensor. More... | |
virtual size_t | getSkinPatchSize (size_t sens_index) const =0 |
Get the size of the specified skin patch. More... | |
virtual | ~ISkinPatches () |
Device interface to one or more groups (patches) of tactile sensors (skin).
Sensor Tag |
---|
SkinPatches |
Device interface to one or multiple patches of tacticle sensors.
Definition at line 568 of file MultipleAnalogSensorsInterfaces.h.
|
inlinevirtual |
Definition at line 602 of file MultipleAnalogSensorsInterfaces.h.
|
pure virtual |
Get the number of skin patches exposed by this device.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getNrOfSkinPatches()-1). |
[out] | out | The requested measure. The vector should be getNrOfSkinPatches(sens_index)-dimensional. The measure is expressed in implementation-specific unit of measure. |
[out] | timestamp | The timestamp of the requested measure, expressed in seconds. |
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the name of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the size of the specified skin patch.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the status of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.