iCub-main
Namespaces | Enumerations | Functions
eomcUtils.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 yarp
 Copyright (C) 2008 RobotCub Consortium.
 
 yarp::dev
 
 yarp::dev::eomc
 

Enumerations

enum  {
  yarp::dev::eomc::MAX_SHORT = 32767 ,
  yarp::dev::eomc::MIN_SHORT = -32768 ,
  yarp::dev::eomc::MAX_INT = 0x7fffffff ,
  yarp::dev::eomc::MIN_INT = 0x80000000 ,
  yarp::dev::eomc::MAX_U32 = 0xffffffff ,
  yarp::dev::eomc::MIN_U32 = 0x00 ,
  yarp::dev::eomc::MAX_U16 = 0xffff ,
  yarp::dev::eomc::MIN_U16 = 0x0000
}
 
enum  { yarp::dev::eomc::CAN_SKIP_ADDR = 0x80 }
 

Functions

int yarp::dev::eomc::U_16 (double x)
 
short yarp::dev::eomc::S_16 (double x)
 
int yarp::dev::eomc::U_32 (double x)
 
int yarp::dev::eomc::S_32 (double x)
 
bool yarp::dev::eomc::EncoderType_iCub2eo (const string *in, uint8_t *out)
 
bool yarp::dev::eomc::EncoderType_eo2iCub (const uint8_t *in, string *out)
 
void yarp::dev::eomc::copyPid_iCub2eo (const Pid *in, eOmc_PID_t *out)
 
void yarp::dev::eomc::copyPid_eo2iCub (eOmc_PID_t *in, Pid *out)
 
bool yarp::dev::eomc::controlModeCommandConvert_yarp2embObj (int vocabMode, eOenum08_t &embOut)
 
int yarp::dev::eomc::controlModeStatusConvert_embObj2yarp (eOenum08_t embObjMode)
 
bool yarp::dev::eomc::controlModeStatusConvert_yarp2embObj (int vocabMode, eOmc_controlmode_t &embOut)
 
int yarp::dev::eomc::controlModeCommandConvert_embObj2yarp (eOmc_controlmode_command_t embObjMode)
 
bool yarp::dev::eomc::interactionModeCommandConvert_yarp2embObj (int vocabMode, eOenum08_t &embOut)
 
bool yarp::dev::eomc::interactionModeStatusConvert_embObj2yarp (eOenum08_t embObjMode, int &vocabOut)