|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
23 size_t subIndex =
device.
lut[j].deviceEntry;
42 size_t subIndex =
device.
lut[l].deviceEntry;
67 size_t subIndex =
device.
lut[j].deviceEntry;
92 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
93 v[juser] = references[jdevice];
115 size_t subIndex =
device.
lut[j].deviceEntry;
140 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
141 v[juser] = dutyCicles[jdevice];
virtual bool getDutyCycle(int m, double *val)=0
Gets the current dutycycle of the output of the amplifier (i.e.
bool getDutyCycle(int j, double *v) override
Gets the current dutycycle of the output of the amplifier (i.e.
yarp::dev::IPWMControl * iPWM
virtual bool getRefDutyCycle(int m, double *ref)=0
Gets the last reference sent using the setRefDutyCycle function.
virtual bool getDutyCycles(double *vals)=0
Gets the current dutycycle of the output of the amplifier (i.e.
const yarp::os::LogComponent & CONTROLBOARDWRAPPER()
bool getRefDutyCycles(double *v) override
Gets the last reference sent using the setRefDutyCycles function.
SubDevice * getSubdevice(size_t i)
SubDeviceVector subdevices
bool getDutyCycles(double *v) override
Gets the current dutycycle of the output of the amplifier (i.e.
bool getRefDutyCycle(int j, double *v) override
Gets the last reference sent using the setRefDutyCycle function.
bool setRefDutyCycles(const double *v) override
Sets the reference dutycycle for all the motors.
#define yCError(component,...)
virtual bool getRefDutyCycles(double *refs)=0
Gets the last reference sent using the setRefDutyCycles function.
std::vector< DevicesLutEntry > lut
virtual bool setRefDutyCycle(int m, double ref)=0
Sets the reference dutycycle to a single motor.
bool setRefDutyCycle(int j, double v) override
Sets the reference dutycycle to a single motor.
size_t maxNumOfJointsInDevices
void printError(const std::string &func_name, const std::string &info, bool result)