21#ifndef __EMBOBJSKIN_H__
22#define __EMBOBJSKIN_H__
27#include <yarp/os/PeriodicThread.h>
28#include <yarp/dev/ControlBoardInterfaces.h>
29#include <yarp/dev/IAnalogSensor.h>
30#include <yarp/dev/PolyDriver.h>
42using namespace yarp::os;
44using namespace yarp::os::impl;
45using namespace yarp::sig;
104 bool fromConfig(yarp::os::Searchable& config);
121 eOmn_serv_parameter_t ethservice;
126 bool _isDiagnosticPresent;
130 std::vector<iCub::skin::diagnostics::DetectedError> errors;
137 virtual bool open(yarp::os::Searchable& config);
139 virtual bool close();
142 virtual int read(yarp::sig::Vector &
out);
153 virtual bool update(eOprotID32_t id32,
double timestamp,
void *rxdata);
virtual int read(yarp::sig::Vector &out)
bool fromConfig(yarp::os::Searchable &config)
eth::AbstractEthResource * res
SkinConfigReader _cfgReader
virtual int calibrateSensor()
SkinBoardCfgParam _brdCfg
virtual bool initialised()
@ SPECIAL_TRIANGLE_CFG_MAX_NUM
virtual int calibrateChannel(int ch, double v)
eOprotIndex_t convertIdPatch2IndexNv(int idPatch)
bool initWithSpecialConfig(yarp::os::Searchable &config)
SkinTriangleCfgParam _triangCfg
virtual bool open(yarp::os::Searchable &config)
virtual eth::iethresType_t type()
virtual int getState(int ch)
virtual int getChannels()
virtual bool update(eOprotID32_t id32, double timestamp, void *rxdata)
bool configPeriodicMessage(void)
eth::TheEthManager * ethManager
std::vector< SkinPatchInfo > patchInfoList
std::vector< int > cardAddrList
int checkCardAddrIsInList(int cardAddr)