|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
22 size_t subIndex =
device.
lut[j].deviceEntry;
42 size_t subIndex =
device.
lut[l].deviceEntry;
68 size_t subIndex =
device.
lut[j].deviceEntry;
88 size_t subIndex =
device.
lut[l].deviceEntry;
114 size_t subIndex =
device.
lut[j].deviceEntry;
141 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
142 encs[juser] = encValues[jdevice];
169 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
170 encs[juser] = encValues[jdevice];
171 t[juser] = tValues[jdevice];
195 size_t subIndex =
device.
lut[j].deviceEntry;
219 size_t subIndex =
device.
lut[j].deviceEntry;
246 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
247 spds[juser] = sValues[jdevice];
270 size_t subIndex =
device.
lut[j].deviceEntry;
297 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
298 accs[juser] = aValues[jdevice];
bool setEncoders(const double *vals) override
Set the value of all encoders.
bool getEncoders(double *encs) override
Read the position of all axes.
bool getEncoderAcceleration(int j, double *acc) override
Read the instantaneous acceleration of an axis.
virtual bool getEncodersTimed(double *encs, double *time)=0
Read the instantaneous acceleration 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 setEncoder(int j, double val) override
Set the value of the encoder for a given joint.
bool getEncoder(int j, double *v) override
Read the value of an encoder.
const yarp::os::LogComponent & CONTROLBOARDWRAPPER()
bool resetEncoders() override
Reset encoders.
virtual bool resetEncoder(int j)=0
Reset encoder, single joint.
bool getEncoderSpeed(int j, double *sp) override
Read the istantaneous speed of an axis.
SubDevice * getSubdevice(size_t i)
virtual bool getEncoderAcceleration(int j, double *spds)=0
Read the instantaneous acceleration of an axis.
SubDeviceVector subdevices
bool getEncoderSpeeds(double *spds) override
Read the instantaneous speed of all axes.
bool getEncoderAccelerations(double *accs) override
Read the instantaneous acceleration of all axes.
virtual bool getEncoderAccelerations(double *accs)=0
Read the instantaneous acceleration of all axes.
#define yCError(component,...)
virtual bool getEncoder(int j, double *v)=0
Read the value of an encoder.
std::vector< DevicesLutEntry > lut
virtual bool setEncoder(int j, double val)=0
Set the value of the encoder for a given joint.
virtual bool getEncoderTimed(int j, double *encs, double *time)=0
Read the instantaneous acceleration of all axes.
virtual bool getEncoderSpeeds(double *spds)=0
Read the instantaneous speed of all axes.
size_t maxNumOfJointsInDevices
virtual bool getEncoderSpeed(int j, double *sp)=0
Read the istantaneous speed of an axis.
bool getEncodersTimed(double *encs, double *t) override
Read the instantaneous acceleration of all axes.
yarp::dev::IEncodersTimed * iJntEnc
void printError(const std::string &func_name, const std::string &info, bool result)
virtual bool getEncoders(double *encs)=0
Read the position of all axes.