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