YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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.
 
virtual yarp::dev::ReturnValue getNumberOfMotorsRaw (int *num)=0
 Get the number of available motors.
 
virtual yarp::dev::ReturnValue getTemperatureRaw (int m, double *val)=0
 Get temperature of a motor.
 
virtual yarp::dev::ReturnValue getTemperaturesRaw (double *vals)=0
 Get temperature of all the motors.
 
virtual yarp::dev::ReturnValue getTemperatureLimitRaw (int m, double *temp)=0
 Retrieves the current temperature limit for a specific motor.
 
virtual yarp::dev::ReturnValue setTemperatureLimitRaw (int m, const double temp)=0
 Set the temperature limit for a specific motor.
 
virtual yarp::dev::ReturnValue getGearboxRatioRaw (int m, double *val)=0
 Get the gearbox ratio for a specific motor.
 
virtual yarp::dev::ReturnValue setGearboxRatioRaw (int m, const double val)=0
 Set the gearbox ratio for a specific motor.
 

Detailed Description

Control board, encoder interface.

Definition at line 24 of file IMotor.h.

Constructor & Destructor Documentation

◆ ~IMotorRaw()

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

Destructor.

Definition at line 30 of file IMotor.h.

Member Function Documentation

◆ getGearboxRatioRaw()

virtual yarp::dev::ReturnValue yarp::dev::IMotorRaw::getGearboxRatioRaw ( int  m,
double *  val 
)
pure virtual

Get the gearbox ratio for a specific motor.

Parameters
mmotor number
valretrieved gearbox ratio
Returns
true/false

Implemented in FakeMotionControl.

◆ getNumberOfMotorsRaw()

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

Retrieves 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 yarp::dev::ReturnValue 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 yarp::dev::ReturnValue 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 yarp::dev::ReturnValue yarp::dev::IMotorRaw::setGearboxRatioRaw ( int  m,
const double  val 
)
pure virtual

Set the gearbox ratio for a specific motor.

Parameters
mmotor number
gearboxratio to be set
Returns
true/false

Implemented in FakeMotionControl.

◆ setTemperatureLimitRaw()

virtual yarp::dev::ReturnValue 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: