Control board, encoder interface. More...
#include <yarp/dev/IMotor.h>
Inheritance diagram for yarp::dev::IMotor:Public Member Functions | |
| virtual | ~IMotor () |
| Destructor. More... | |
| virtual bool | getNumberOfMotors (int *num)=0 |
| Get the number of available motors. More... | |
| virtual bool | getTemperature (int m, double *val)=0 |
| Get temperature of a motor. More... | |
| virtual bool | getTemperatures (double *vals)=0 |
| Get temperature of all the motors. More... | |
| virtual bool | getTemperatureLimit (int m, double *temp)=0 |
| Retreives the current temperature limit for a specific motor. More... | |
| virtual bool | setTemperatureLimit (int m, const double temp)=0 |
| Set the temperature limit for a specific motor. More... | |
| virtual bool | getGearboxRatio (int m, double *val) |
| Get the gearbox ratio for a specific motor. More... | |
| virtual bool | setGearboxRatio (int m, const double val) |
| Set the gearbox ratio for a specific motor. More... | |
|
inlinevirtual |
|
inlinevirtual |
Get the gearbox ratio for a specific motor.
| m | motor number |
| val | retrieved gearbox ratio |
Reimplemented in yarp::dev::ImplementMotor, RemoteControlBoard, ControlBoardWrapperMotor, and ControlBoardRemapper.
|
pure virtual |
Get the number of available motors.
| num | retrieved number of available motors |
Implemented in yarp::dev::ImplementMotor, RemoteControlBoard, ControlBoardWrapperMotor, and ControlBoardRemapper.
|
pure virtual |
Get temperature of a motor.
| m | motor number |
| val | retrieved motor temperature |
Implemented in yarp::dev::ImplementMotor, RemoteControlBoard, ControlBoardWrapperMotor, and ControlBoardRemapper.
|
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)
| m | motor number |
| temp | the current temperature limit. |
Implemented in yarp::dev::ImplementMotor, RemoteControlBoard, ControlBoardWrapperMotor, and ControlBoardRemapper.
|
pure virtual |
Get temperature of all the motors.
| vals | pointer to an array containing all motor temperatures |
Implemented in yarp::dev::ImplementMotor, RemoteControlBoard, ControlBoardWrapperMotor, and ControlBoardRemapper.
|
inlinevirtual |
Set the gearbox ratio for a specific motor.
| m | motor number |
| gearbox | ratio to be set |
Reimplemented in yarp::dev::ImplementMotor, RemoteControlBoard, ControlBoardWrapperMotor, and ControlBoardRemapper.
|
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)
| m | motor number |
| temp | the temperature limit to be set |
Implemented in yarp::dev::ImplementMotor, RemoteControlBoard, ControlBoardWrapperMotor, and ControlBoardRemapper.