19 size_t subIndex =
device.
lut[j].deviceEntry;
39 size_t subIndex =
device.
lut[l].deviceEntry;
65 size_t subIndex =
device.
lut[j].deviceEntry;
85 size_t subIndex =
device.
lut[l].deviceEntry;
111 size_t subIndex =
device.
lut[j].deviceEntry;
138 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
139 encs[juser] = encValues[jdevice];
166 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
167 encs[juser] = encValues[jdevice];
168 t[juser] = tValues[jdevice];
192 size_t subIndex =
device.
lut[j].deviceEntry;
216 size_t subIndex =
device.
lut[j].deviceEntry;
243 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
244 spds[juser] = sValues[jdevice];
267 size_t subIndex =
device.
lut[j].deviceEntry;
294 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
295 accs[juser] = aValues[jdevice];
const yarp::os::LogComponent & CONTROLBOARD()
void printError(const std::string &func_name, const std::string &info, bool result)
bool resetEncoders() override
Reset encoders.
bool getEncoderAccelerations(double *accs) override
Read the instantaneous acceleration of all axes.
bool setEncoders(const double *vals) override
Set the value of all encoders.
bool getEncoderAcceleration(int j, double *acc) override
Read the instantaneous acceleration of an axis.
bool setEncoder(int j, double val) override
Set the value of the encoder for a given joint.
bool getEncoderSpeed(int j, double *sp) override
Read the istantaneous speed of an axis.
bool getEncoderSpeeds(double *spds) override
Read the instantaneous speed of all axes.
bool getEncoder(int j, double *v) override
Read the value of an encoder.
bool getEncoders(double *encs) override
Read the position of all axes.
bool getEncoderTimed(int j, double *v, double *t) override
Read the instantaneous acceleration of all axes.
bool resetEncoder(int j) override
Reset encoder, single joint.
bool getEncodersTimed(double *encs, double *t) override
Read the instantaneous acceleration of all axes.
yarp::dev::IEncodersTimed * iJntEnc
std::vector< DevicesLutEntry > lut
SubDevice * getSubdevice(size_t i)
size_t maxNumOfJointsInDevices
SubDeviceVector subdevices
virtual bool getEncodersTimed(double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual bool getEncoderTimed(int j, double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual bool getEncoderSpeed(int j, double *sp)=0
Read the istantaneous speed of an axis.
virtual bool getEncoderAccelerations(double *accs)=0
Read the instantaneous acceleration of all axes.
virtual bool setEncoder(int j, double val)=0
Set the value of the encoder for a given joint.
virtual bool getEncoder(int j, double *v)=0
Read the value of an encoder.
virtual bool resetEncoder(int j)=0
Reset encoder, single joint.
virtual bool getEncoders(double *encs)=0
Read the position of all axes.
virtual bool getEncoderSpeeds(double *spds)=0
Read the instantaneous speed of all axes.
virtual bool getEncoderAcceleration(int j, double *spds)=0
Read the instantaneous acceleration of an axis.
#define yCError(component,...)