|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
23 size_t subIndex =
device.
lut[j].deviceEntry;
48 for (
int j = 0; j < n_joints; j++) {
49 subIndex =
device.
lut[joints[j]].deviceEntry;
50 int offset =
device.
lut[joints[j]].offset;
76 size_t subIndex =
device.
lut[l].deviceEntry;
102 size_t subIndex =
device.
lut[j].deviceEntry;
131 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
132 spds[juser] = references[jdevice];
156 for (
int j = 0; j < n_joints; j++) {
157 subIndex =
device.
lut[joints[j]].deviceEntry;
176 for (
int j = 0; j < n_joints; j++) {
177 subIndex =
device.
lut[joints[j]].deviceEntry;
182 for (
int j = 0; j < n_joints; j++) {
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.
int * subdev_jointsVectorLen
bool setPositions(const int n_joints, const int *joints, const double *dpos) override
Set new reference point for all axes.
bool getRefPositions(double *refs) override
Get the last position reference for all axes.
SubDevice ** subdevices_p
const yarp::os::LogComponent & CONTROLBOARDWRAPPER()
bool setPosition(int j, double ref) override
Set new position for a single axis.
SubDevice * getSubdevice(size_t i)
SubDeviceVector subdevices
yarp::dev::IPositionDirect * posDir
virtual bool getRefPositions(double *refs)
Get the last position reference for all axes.
#define yCError(component,...)
bool getRefPosition(const int joint, double *ref) override
Get the last position reference for the specified axis.
std::vector< DevicesLutEntry > lut
virtual bool getRefPosition(const int joint, double *ref)
Get the last position reference for the specified axis.
size_t maxNumOfJointsInDevices
void printError(const std::string &func_name, const std::string &info, bool result)