Device interface to one or multiple contact load cell arrays. More...
#include <yarp/dev/MultipleAnalogSensorsInterfaces.h>
Public Member Functions | |
virtual size_t | getNrOfContactLoadCellArrays () const =0 |
Get the number of contact load cell array exposed by this device. More... | |
virtual yarp::dev::MAS_status | getContactLoadCellArrayStatus (size_t sens_index) const =0 |
Get the status of the specified sensor. More... | |
virtual bool | getContactLoadCellArrayName (size_t sens_index, std::string &name) const =0 |
Get the name of the specified sensor. More... | |
virtual bool | getContactLoadCellArrayMeasure (size_t sens_index, yarp::sig::Vector &out, double ×tamp) const =0 |
Get the last reading of the specified sensor. More... | |
virtual size_t | getContactLoadCellArraySize (size_t sens_index) const =0 |
Get the size of the specified contact load cell array. More... | |
virtual | ~IContactLoadCellArrays () |
Device interface to one or multiple contact load cell arrays.
Sensor Tag |
---|
ContactLoadCellArrays |
Definition at line 466 of file MultipleAnalogSensorsInterfaces.h.
|
inlinevirtual |
Definition at line 502 of file MultipleAnalogSensorsInterfaces.h.
|
pure virtual |
Get the last reading of the specified sensor.
[in] | sens_index | The index of the specified sensor (should be between 0 and getContactLoadCellArrayMeasure()-1). |
[out] | out | The requested measure. The vector should be getContactLoadCellArrayMeasure(sens_index)-dimensional. The measure is expressed in Newton. |
[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 contact load cell array.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the status of the specified sensor.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.
|
pure virtual |
Get the number of contact load cell array exposed by this device.
Implemented in MultipleAnalogSensorsRemapper, and MultipleAnalogSensorsClient.