Control board, encoder interface.
More...
#include <yarp/dev/IMotor.h>
Control board, encoder interface.
Definition at line 28 of file IMotor.h.
◆ ~IMotorRaw()
virtual yarp::dev::IMotorRaw::~IMotorRaw |
( |
| ) |
|
|
inlinevirtual |
Destructor.
Definition at line 34 of file IMotor.h.
◆ getGearboxRatioRaw()
virtual bool yarp::dev::IMotorRaw::getGearboxRatioRaw |
( |
int |
m, |
|
|
double * |
val |
|
) |
| |
|
inlinevirtual |
Get the gearbox ratio for a specific motor.
- Parameters
-
m | motor number |
val | retrieved gearbox ratio |
- Returns
- true/false
Reimplemented in FakeMotionControl.
Definition at line 82 of file IMotor.h.
◆ getNumberOfMotorsRaw()
virtual bool yarp::dev::IMotorRaw::getNumberOfMotorsRaw |
( |
int * |
num | ) |
|
|
pure virtual |
Get the number of available motors.
- Parameters
-
num | retrieved number of available motors |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ getTemperatureLimitRaw()
virtual bool yarp::dev::IMotorRaw::getTemperatureLimitRaw |
( |
int |
m, |
|
|
double * |
temp |
|
) |
| |
|
pure virtual |
Retreives the current temperature limit for a specific motor.
The specific behavior of the motor when the temperature limit is exceeded depends on the implementation (power off recommended)
- Parameters
-
m | motor number |
temp | the current temperature limit. |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ getTemperatureRaw()
virtual bool yarp::dev::IMotorRaw::getTemperatureRaw |
( |
int |
m, |
|
|
double * |
val |
|
) |
| |
|
pure virtual |
Get temperature of a motor.
- Parameters
-
m | motor number |
val | retrieved motor temperature |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ getTemperaturesRaw()
virtual bool yarp::dev::IMotorRaw::getTemperaturesRaw |
( |
double * |
vals | ) |
|
|
pure virtual |
Get temperature of all the motors.
- Parameters
-
vals | pointer to an array containing all motor temperatures |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ setGearboxRatioRaw()
virtual bool yarp::dev::IMotorRaw::setGearboxRatioRaw |
( |
int |
m, |
|
|
const double |
val |
|
) |
| |
|
inlinevirtual |
Set the gearbox ratio for a specific motor.
- Parameters
-
m | motor number |
gearbox | ratio to be set |
- Returns
- true/false
Definition at line 90 of file IMotor.h.
◆ setTemperatureLimitRaw()
virtual bool yarp::dev::IMotorRaw::setTemperatureLimitRaw |
( |
int |
m, |
|
|
const double |
temp |
|
) |
| |
|
pure virtual |
Set the temperature limit for a specific motor.
The specific behavior of the motor when the temperature limit is exceeded depends on the implementation (power off recommended)
- Parameters
-
m | motor number |
temp | the temperature limit to be set |
- Returns
- true/false
Implemented in FakeMotionControl.
The documentation for this class was generated from the following file: