YARP
Yet Another Robot Platform
yarp::dev::IMotorRaw Class Referenceabstract

Control board, encoder interface. More...

#include <yarp/dev/IMotor.h>

+ Inheritance diagram for yarp::dev::IMotorRaw:

Public Member Functions

virtual ~IMotorRaw ()
 Destructor. More...
 
virtual bool getNumberOfMotorsRaw (int *num)=0
 Get the number of available motors. More...
 
virtual bool getTemperatureRaw (int m, double *val)=0
 Get temperature of a motor. More...
 
virtual bool getTemperaturesRaw (double *vals)=0
 Get temperature of all the motors. More...
 
virtual bool getTemperatureLimitRaw (int m, double *temp)=0
 Retreives the current temperature limit for a specific motor. More...
 
virtual bool setTemperatureLimitRaw (int m, const double temp)=0
 Set the temperature limit for a specific motor. More...
 
virtual bool getGearboxRatioRaw (int m, double *val)
 Get the gearbox ratio for a specific motor. More...
 
virtual bool setGearboxRatioRaw (int m, const double val)
 Set the gearbox ratio for a specific motor. More...
 

Detailed Description

Control board, encoder interface.

Definition at line 28 of file IMotor.h.

Constructor & Destructor Documentation

◆ ~IMotorRaw()

virtual yarp::dev::IMotorRaw::~IMotorRaw ( )
inlinevirtual

Destructor.

Definition at line 34 of file IMotor.h.

Member Function Documentation

◆ getGearboxRatioRaw()

virtual bool yarp::dev::IMotorRaw::getGearboxRatioRaw ( int  m,
double *  val 
)
inlinevirtual

Get the gearbox ratio for a specific motor.

Parameters
mmotor number
valretrieved gearbox ratio
Returns
true/false

Reimplemented in FakeMotionControl.

Definition at line 82 of file IMotor.h.

◆ getNumberOfMotorsRaw()

virtual bool yarp::dev::IMotorRaw::getNumberOfMotorsRaw ( int *  num)
pure virtual

Get the number of available motors.

Parameters
numretrieved number of available motors
Returns
true/false

Implemented in FakeMotionControl.

◆ getTemperatureLimitRaw()

virtual bool yarp::dev::IMotorRaw::getTemperatureLimitRaw ( int  m,
double *  temp 
)
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)

Parameters
mmotor number
tempthe current temperature limit.
Returns
true/false

Implemented in FakeMotionControl.

◆ getTemperatureRaw()

virtual bool yarp::dev::IMotorRaw::getTemperatureRaw ( int  m,
double *  val 
)
pure virtual

Get temperature of a motor.

Parameters
mmotor number
valretrieved motor temperature
Returns
true/false

Implemented in FakeMotionControl.

◆ getTemperaturesRaw()

virtual bool yarp::dev::IMotorRaw::getTemperaturesRaw ( double *  vals)
pure virtual

Get temperature of all the motors.

Parameters
valspointer to an array containing all motor temperatures
Returns
true/false

Implemented in FakeMotionControl.

◆ setGearboxRatioRaw()

virtual bool yarp::dev::IMotorRaw::setGearboxRatioRaw ( int  m,
const double  val 
)
inlinevirtual

Set the gearbox ratio for a specific motor.

Parameters
mmotor number
gearboxratio to be set
Returns
true/false

Definition at line 90 of file IMotor.h.

◆ setTemperatureLimitRaw()

virtual bool yarp::dev::IMotorRaw::setTemperatureLimitRaw ( int  m,
const double  temp 
)
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)

Parameters
mmotor number
tempthe temperature limit to be set
Returns
true/false

Implemented in FakeMotionControl.


The documentation for this class was generated from the following file: