20 size_t subIndex =
device.
lut[j].deviceEntry;
45 for (
int j = 0; j < n_joints; j++) {
46 subIndex =
device.
lut[joints[j]].deviceEntry;
47 int offset =
device.
lut[joints[j]].offset;
73 size_t subIndex =
device.
lut[l].deviceEntry;
99 size_t subIndex =
device.
lut[j].deviceEntry;
128 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
129 spds[juser] = references[jdevice];
153 for (
int j = 0; j < n_joints; j++) {
154 subIndex =
device.
lut[joints[j]].deviceEntry;
173 for (
int j = 0; j < n_joints; j++) {
174 subIndex =
device.
lut[joints[j]].deviceEntry;
179 for (
int j = 0; j < n_joints; j++) {
const yarp::os::LogComponent & CONTROLBOARD()
void printError(const std::string &func_name, const std::string &info, bool result)
bool getRefPositions(double *refs) override
Get the last position reference for all axes.
bool setPositions(const int n_joints, const int *joints, const double *dpos) override
Set new reference point for all axes.
bool setPosition(int j, double ref) override
Set new position for a single axis.
bool getRefPosition(const int joint, double *ref) override
Get the last position reference for the specified axis.
int * subdev_jointsVectorLen
SubDevice ** subdevices_p
yarp::dev::IPositionDirect * posDir
std::vector< DevicesLutEntry > lut
SubDevice * getSubdevice(size_t i)
size_t maxNumOfJointsInDevices
SubDeviceVector subdevices
virtual bool getRefPositions(double *refs)
Get the last position reference for all axes.
virtual bool setPositions(const int n_joint, const int *joints, const double *refs)=0
Set new reference point for all axes.
virtual bool setPosition(int j, double ref)=0
Set new position for a single axis.
virtual bool getRefPosition(const int joint, double *ref)
Get the last position reference for the specified axis.
#define yCError(component,...)