YARP
Yet Another Robot Platform
yarp::dev::ISkinPatches Class Referenceabstract

Device interface to one or more groups (patches) of tactile sensors (skin). More...

#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>

+ Inheritance diagram for yarp::dev::ISkinPatches:

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 &timestamp) 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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ISkinPatches()

virtual yarp::dev::ISkinPatches::~ISkinPatches ( )
inlinevirtual

Definition at line 602 of file MultipleAnalogSensorsInterfaces.h.

Member Function Documentation

◆ getNrOfSkinPatches()

virtual size_t yarp::dev::ISkinPatches::getNrOfSkinPatches ( ) const
pure virtual

Get the number of skin patches exposed by this device.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getSkinPatchMeasure()

virtual bool yarp::dev::ISkinPatches::getSkinPatchMeasure ( size_t  sens_index,
yarp::sig::Vector out,
double &  timestamp 
) const
pure virtual

Get the last reading of the specified sensor.

Parameters
[in]sens_indexThe index of the specified sensor (should be between 0 and getNrOfSkinPatches()-1).
[out]outThe requested measure. The vector should be getNrOfSkinPatches(sens_index)-dimensional. The measure is expressed in implementation-specific unit of measure.
[out]timestampThe timestamp of the requested measure, expressed in seconds.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getSkinPatchName()

virtual bool yarp::dev::ISkinPatches::getSkinPatchName ( size_t  sens_index,
std::string &  name 
) const
pure virtual

Get the name of the specified sensor.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getSkinPatchSize()

virtual size_t yarp::dev::ISkinPatches::getSkinPatchSize ( size_t  sens_index) const
pure virtual

Get the size of the specified skin patch.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getSkinPatchStatus()

virtual yarp::dev::MAS_status yarp::dev::ISkinPatches::getSkinPatchStatus ( size_t  sens_index) const
pure virtual

Get the status of the specified sensor.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.


The documentation for this class was generated from the following file: