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>
42 using namespace yarp::os;
44 using namespace yarp::os::impl;
45 using namespace yarp::sig;
56 int checkCardAddrIsInList(
int cardAddr);
77 enum { EMBSK_SIZE_INFO = 128 };
104 bool fromConfig(yarp::os::Searchable& config);
105 bool initWithSpecialConfig(yarp::os::Searchable& config);
107 bool configPeriodicMessage(
void);
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);
143 virtual int getState(
int ch);
144 virtual int getChannels();
145 virtual int calibrateSensor();
146 virtual int calibrateChannel(
int ch,
double v);
148 virtual int calibrateSensor(
const yarp::sig::Vector& v);
149 virtual int calibrateChannel(
int ch);
151 virtual bool initialised();
153 virtual bool update(eOprotID32_t id32,
double timestamp,
void *rxdata);
#define SPECIAL_TRIANGLE_CFG_MAX_NUM
eth::AbstractEthResource * res
SkinConfigReader _cfgReader
SkinBoardCfgParam _brdCfg
eOprotIndex_t convertIdPatch2IndexNv(int idPatch)
SkinTriangleCfgParam _triangCfg
eth::TheEthManager * ethManager
std::vector< SkinPatchInfo > patchInfoList
std::vector< int > cardAddrList
bool read(yarp::os::Searchable &cfgtotal, pc104Data &pc104data)