embObjStrain
: driver for communication with IIT's STRAIN board over EMS boards.
More...
#include <embObjStrain.h>
embObjStrain
: driver for communication with IIT's STRAIN board over EMS boards.
For the description of the parameters supported by this device, please check the template configuration file available in robotology/robots-configuration, i.e. https://github.com/robotology/robots-configuration/blob/master/iCubTemplates/iCubTemplateV4_0/hardware/FT/body_part-ebX-strain.xml .
Definition at line 52 of file embObjStrain.h.
◆ anonymous enum
Enumerator |
---|
strain_Channels | |
strain_FormatData | |
Definition at line 59 of file embObjStrain.h.
◆ embObjStrain()
embObjStrain::embObjStrain |
( |
| ) |
|
◆ ~embObjStrain()
embObjStrain::~embObjStrain |
( |
| ) |
|
◆ calibrateChannel() [1/2]
int embObjStrain::calibrateChannel |
( |
int |
ch | ) |
|
|
virtual |
◆ calibrateChannel() [2/2]
int embObjStrain::calibrateChannel |
( |
int |
ch, |
|
|
double |
v |
|
) |
| |
|
virtual |
◆ calibrateSensor() [1/2]
int embObjStrain::calibrateSensor |
( |
| ) |
|
|
virtual |
◆ calibrateSensor() [2/2]
int embObjStrain::calibrateSensor |
( |
const yarp::sig::Vector & |
value | ) |
|
|
virtual |
◆ close()
bool embObjStrain::close |
( |
void |
| ) |
|
◆ getChannels()
int embObjStrain::getChannels |
( |
| ) |
|
|
virtual |
◆ getState()
int embObjStrain::getState |
( |
int |
ch | ) |
|
|
virtual |
◆ initialised()
bool embObjStrain::initialised |
( |
| ) |
|
|
virtual |
◆ open()
bool embObjStrain::open |
( |
yarp::os::Searchable & |
config | ) |
|
◆ read()
int embObjStrain::read |
( |
yarp::sig::Vector & |
out | ) |
|
|
virtual |
Read a vector from the sensor.
- Parameters
-
out | a vector containing the sensor's last readings. |
- Returns
- AS_OK or return code. AS_TIMEOUT if the sensor timed-out.
Definition at line 487 of file embObjStrain.cpp.
◆ type()
◆ update()
bool embObjStrain::update |
( |
eOprotID32_t |
id32, |
|
|
double |
timestamp, |
|
|
void * |
rxdata |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: