|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
16 size_t subIndex =
device.
lut[m].deviceEntry;
42 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
43 vals[juser] = temps[jdevice];
59 size_t subIndex =
device.
lut[m].deviceEntry;
76 size_t subIndex =
device.
lut[m].deviceEntry;
92 size_t subIndex =
device.
lut[m].deviceEntry;
109 size_t subIndex =
device.
lut[m].deviceEntry;
bool getTemperatureLimit(int m, double *val) override
Retreives the current temperature limit for a specific motor.
virtual bool getTemperatures(double *vals)=0
Get temperature of all the motors.
virtual bool getGearboxRatio(int m, double *val)
Get the gearbox ratio for a specific motor.
SubDevice * getSubdevice(size_t i)
SubDeviceVector subdevices
bool setGearboxRatio(int m, const double val) override
Set the gearbox ratio for a specific motor.
virtual bool setTemperatureLimit(int m, const double temp)=0
Set the temperature limit for a specific motor.
virtual bool getTemperature(int m, double *val)=0
Get temperature of a motor.
std::vector< DevicesLutEntry > lut
bool getTemperature(int m, double *val) override
Get temperature of a motor.
virtual bool getTemperatureLimit(int m, double *temp)=0
Retreives the current temperature limit for a specific motor.
size_t maxNumOfJointsInDevices
bool getTemperatures(double *vals) override
Get temperature of all the motors.
bool getGearboxRatio(int m, double *val) override
Get the gearbox ratio for a specific motor.
void printError(const std::string &func_name, const std::string &info, bool result)
virtual bool setGearboxRatio(int m, const double val)
Set the gearbox ratio for a specific motor.
bool setTemperatureLimit(int m, const double val) override
Set the temperature limit for a specific motor.
yarp::dev::IMotor * imotor