6#ifndef YARP_DEV_IMPLEMENTMOTOR_H
7#define YARP_DEV_IMPLEMENTMOTOR_H
18class FixedSizeBuffersManager;
27 void* m_helper=
nullptr;
Control board, encoder interface.
Control board, encoder interface.
virtual ~ImplementMotor()
bool uninitialize()
Clean up internal data and memory.
yarp::dev::ReturnValue getNumberOfMotors(int *num) override
Get the number of available motors.
yarp::dev::ReturnValue setTemperatureLimit(int m, const double val) override
Set the temperature limit for a specific motor.
yarp::dev::ReturnValue setGearboxRatio(int m, const double val) override
Set the gearbox ratio for a specific motor.
yarp::dev::ReturnValue getTemperatures(double *vals) override
Get temperature of all the motors.
std::vector< double > m_buffer_doubles
std::vector< int > m_buffer_ints
bool initialize(int size, const int *amap)
Initialize the internal data and alloc memory.
yarp::dev::ReturnValue getTemperature(int m, double *val) override
Get temperature of a motor.
yarp::dev::ReturnValue getTemperatureLimit(int m, double *val) override
Retrieves the current temperature limit for a specific motor.
yarp::dev::ReturnValue getGearboxRatio(int m, double *val) override
Get the gearbox ratio for a specific motor.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.