YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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 yarp::dev::ReturnValue getNrOfSkinPatches (size_t &num) const =0
 Get the number of skin patches exposed by this device.
 
virtual yarp::dev::MAS_status getSkinPatchStatus (size_t sens_index) const =0
 Get the status of the specified sensor.
 
virtual yarp::dev::ReturnValue getSkinPatchName (size_t sens_index, std::string &name) const =0
 Get the name of the specified sensor.
 
virtual yarp::dev::ReturnValue getSkinPatchMeasure (size_t sens_index, yarp::sig::Vector &out, double &timestamp) const =0
 Get the last reading of the specified sensor.
 
virtual size_t getSkinPatchSize (size_t sens_index) const =0
 Get the size of the specified skin patch.
 
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 651 of file MultipleAnalogSensorsInterfaces.h.

Constructor & Destructor Documentation

◆ ~ISkinPatches()

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

Definition at line 685 of file MultipleAnalogSensorsInterfaces.h.

Member Function Documentation

◆ getNrOfSkinPatches()

virtual yarp::dev::ReturnValue yarp::dev::ISkinPatches::getNrOfSkinPatches ( size_t &  num) const
pure virtual

Get the number of skin patches exposed by this device.

Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.

◆ getSkinPatchMeasure()

virtual yarp::dev::ReturnValue 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 getSkinPatchSize(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 yarp::dev::ReturnValue 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: