9 #ifndef YARP_DEV_IMPLEMENTMOTOR_H
10 #define YARP_DEV_IMPLEMENTMOTOR_H
25 class FixedSizeBuffersManager;
Control board, encoder interface.
Control board, encoder interface.
virtual bool getTemperature(int m, double *val)=0
Get temperature of a motor.
virtual bool getTemperatures(double *vals)=0
Get temperature of all the motors.
virtual bool getNumberOfMotors(int *num)=0
Get the number of available motors.
virtual bool getTemperatureLimit(int m, double *temp)=0
Retreives the current temperature limit for a specific motor.
virtual bool getGearboxRatio(int m, double *val)
Get 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 setGearboxRatio(int m, const double val)
Set the gearbox ratio for a specific motor.
virtual ~ImplementMotor()
bool uninitialize()
Clean up internal data and memory.
ImplementMotor(yarp::dev::IMotorRaw *y)
yarp::dev::impl::FixedSizeBuffersManager< double > * doubleBuffManager
bool initialize(int size, const int *amap)
Initialize the internal data and alloc memory.
The main, catch-all namespace for YARP.