iCub-main
|
class yarp::dev::embObjAnalogSensor More...
#include <embObjAnalogSensor.h>
Public Types | |
enum | { NUMCHANNEL_STRAIN = 6 , NUMCHANNEL_MAIS = 15 , FORMATDATA_STRAIN = 16 , FORMATDATA_MAIS = 8 } |
enum | AnalogSensorType { AS_Type_NONE = 0 , AS_Type_MAIS = 1 , AS_Type_STRAIN = 2 , AS_Type_INERTIAL_MTB = 3 } |
Public Member Functions | |
embObjAnalogSensor () | |
~embObjAnalogSensor () | |
bool | open (yarp::os::Searchable &config) |
bool | close () |
virtual int | read (yarp::sig::Vector &out) |
Read a vector from the sensor. More... | |
virtual int | getState (int ch) |
virtual int | getChannels () |
virtual int | calibrateChannel (int ch, double v) |
virtual int | calibrateSensor () |
virtual int | calibrateSensor (const yarp::sig::Vector &value) |
virtual int | calibrateChannel (int ch) |
virtual bool | initialised () |
virtual eth::iethresType_t | type () |
virtual bool | update (eOprotID32_t id32, double timestamp, void *rxdata) |
![]() | |
virtual | ~IethResource () |
const char * | stringOfType () |
class yarp::dev::embObjAnalogSensor
Definition at line 65 of file embObjAnalogSensor.h.
anonymous enum |
Enumerator | |
---|---|
NUMCHANNEL_STRAIN | |
NUMCHANNEL_MAIS | |
FORMATDATA_STRAIN | |
FORMATDATA_MAIS |
Definition at line 72 of file embObjAnalogSensor.h.
Enumerator | |
---|---|
AS_Type_NONE | |
AS_Type_MAIS | |
AS_Type_STRAIN | |
AS_Type_INERTIAL_MTB |
Definition at line 75 of file embObjAnalogSensor.h.
embObjAnalogSensor::embObjAnalogSensor | ( | ) |
Definition at line 231 of file embObjAnalogSensor.cpp.
embObjAnalogSensor::~embObjAnalogSensor | ( | ) |
Definition at line 266 of file embObjAnalogSensor.cpp.
|
virtual |
Definition at line 1265 of file embObjAnalogSensor.cpp.
|
virtual |
Definition at line 1270 of file embObjAnalogSensor.cpp.
|
virtual |
Definition at line 1255 of file embObjAnalogSensor.cpp.
|
virtual |
Definition at line 1260 of file embObjAnalogSensor.cpp.
bool embObjAnalogSensor::close | ( | void | ) |
Definition at line 1479 of file embObjAnalogSensor.cpp.
|
virtual |
Definition at line 1250 of file embObjAnalogSensor.cpp.
|
virtual |
Definition at line 1244 of file embObjAnalogSensor.cpp.
|
virtual |
Implements eth::IethResource.
Definition at line 274 of file embObjAnalogSensor.cpp.
bool embObjAnalogSensor::open | ( | yarp::os::Searchable & | config | ) |
Definition at line 279 of file embObjAnalogSensor.cpp.
|
virtual |
Read a vector from the sensor.
out | a vector containing the sensor's last readings. |
Definition at line 1182 of file embObjAnalogSensor.cpp.
|
virtual |
Implements eth::IethResource.
Definition at line 1275 of file embObjAnalogSensor.cpp.
|
virtual |
Implements eth::IethResource.
Definition at line 1305 of file embObjAnalogSensor.cpp.