62 JOINTIDCHECK(IMPLEMENT_LAYER_COMPONENT,axis);
71 if( (max > min) && (minEnc > maxEnc))
86 JOINTIDCHECK(IMPLEMENT_LAYER_COMPONENT,axis)
87 POINTERCHECK(IMPLEMENT_LAYER_COMPONENT,min)
88 POINTERCHECK(IMPLEMENT_LAYER_COMPONENT,max)
99 if( (*max < *min) && (minEnc < maxEnc))
112 JOINTIDCHECK(IMPLEMENT_LAYER_COMPONENT,axis);
127 JOINTIDCHECK(IMPLEMENT_LAYER_COMPONENT,axis);
128 POINTERCHECK(IMPLEMENT_LAYER_COMPONENT,min)
129 POINTERCHECK(IMPLEMENT_LAYER_COMPONENT,max)
yarp::dev::ControlBoardHelper * castToMapper(void *p)
void velE2A_abs(double enc, int j, double &ang, int &k)
void posE2A(double enc, int j, double &ang, int &k)
void velA2E_abs(double ang, int j, double &enc, int &k)
void posA2E(double ang, int j, double &enc, int &k)
Interface for control devices.
virtual yarp::dev::ReturnValue getVelLimitsRaw(int axis, double *min, double *max)=0
Get the software speed limits for a particular axis.
virtual yarp::dev::ReturnValue getPosLimitsRaw(int axis, double *min, double *max)=0
Get the software limits for a particular axis.
virtual yarp::dev::ReturnValue setVelLimitsRaw(int axis, double min, double max)=0
Set the software speed limits for a particular axis, the behavior of the control card when these limi...
virtual yarp::dev::ReturnValue setPosLimitsRaw(int axis, double min, double max)=0
Set the software limits for a particular axis, the behavior of the control card when these limits are...
std::vector< double > m_buffer_doubles
yarp::dev::ReturnValue getPosLimits(int axis, double *min, double *max) override
Get the software limits for a particular axis.
ImplementControlLimits(yarp::dev::IControlLimitsRaw *y)
Constructor.
IControlLimitsRaw * m_iraw
bool uninitialize()
Clean up internal data and memory.
yarp::dev::ReturnValue setPosLimits(int axis, double min, double max) override
Set the software limits for a particular axis, the behavior of the control card when these limits are...
yarp::dev::ReturnValue setVelLimits(int axis, double min, double max) override
Set the software speed limits for a particular axis, the behavior of the control card when these limi...
virtual ~ImplementControlLimits()
Destructor.
yarp::dev::ReturnValue getVelLimits(int axis, double *min, double *max) override
Get the software speed limits for a particular axis.
bool initialize(int size, const int *amap, const double *enc, const double *zos)
Initialize the internal data and alloc memory.
std::vector< int > m_buffer_ints
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.