20 size_t subIndex =
device.
lut[j].deviceEntry;
47 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
48 min[juser] = c_min[jdevice];
49 max[juser] = c_max[jdevice];
69 size_t subIndex =
device.
lut[l].deviceEntry;
94 size_t subIndex =
device.
lut[j].deviceEntry;
117 for (
int j = 0; j < n_joint; j++) {
118 subIndex =
device.
lut[joints[j]].deviceEntry;
148 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
149 t[juser] = references[jdevice];
171 size_t subIndex =
device.
lut[j].deviceEntry;
const yarp::os::LogComponent & CONTROLBOARD()
void printError(const std::string &func_name, const std::string &info, bool result)
bool getCurrentRanges(double *min, double *max) override
Get the full scale of the current measurements for all motors motor (e.g.
bool setRefCurrent(int j, double t) override
Set the reference value of the current for a single motor.
bool getRefCurrent(int j, double *t) override
Get the reference value of the current for a single motor.
bool getCurrentRange(int j, double *min, double *max) override
Get the full scale of the current measurement for a given motor (e.g.
bool setRefCurrents(const double *t) override
Set the reference value of the currents for all motors.
bool getRefCurrents(double *t) override
Get the reference value of the currents for all motors.
int * subdev_jointsVectorLen
SubDevice ** subdevices_p
yarp::dev::ICurrentControl * iCurr
std::vector< DevicesLutEntry > lut
SubDevice * getSubdevice(size_t i)
size_t maxNumOfJointsInDevices
SubDeviceVector subdevices
virtual bool setRefCurrent(int m, double curr)=0
Set the reference value of the current for a single motor.
virtual bool getRefCurrents(double *currs)=0
Get the reference value of the currents for all motors.
virtual bool setRefCurrents(const double *currs)=0
Set the reference value of the currents for all motors.
virtual bool getCurrentRange(int m, double *min, double *max)=0
Get the full scale of the current measurement for a given motor (e.g.
virtual bool getRefCurrent(int m, double *curr)=0
Get the reference value of the current for a single motor.
virtual bool getCurrentRanges(double *min, double *max)=0
Get the full scale of the current measurements for all motors motor (e.g.
#define yCError(component,...)