Control board, encoder interface.
More...
#include <yarp/dev/IMotor.h>
Control board, encoder interface.
Definition at line 24 of file IMotor.h.
◆ ~IMotorRaw()
| virtual yarp::dev::IMotorRaw::~IMotorRaw |
( |
| ) |
|
|
inlinevirtual |
Destructor.
Definition at line 30 of file IMotor.h.
◆ getGearboxRatioRaw()
Get the gearbox ratio for a specific motor.
- Parameters
-
| m | motor number |
| val | retrieved gearbox ratio |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ getNumberOfMotorsRaw()
Get the number of available motors.
- Parameters
-
| num | retrieved number of available motors |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ getTemperatureLimitRaw()
Retrieves 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()
Get temperature of a motor.
- Parameters
-
| m | motor number |
| val | retrieved motor temperature |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ getTemperaturesRaw()
Get temperature of all the motors.
- Parameters
-
| vals | pointer to an array containing all motor temperatures |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ setGearboxRatioRaw()
Set the gearbox ratio for a specific motor.
- Parameters
-
| m | motor number |
| gearbox | ratio to be set |
- Returns
- true/false
Implemented in FakeMotionControl.
◆ setTemperatureLimitRaw()
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: