Interface for controlling an axis, by sending directly a PWM reference signal to a motor.
More...
#include <yarp/dev/IPWMControl.h>
|
virtual | ~IPWMControl () |
|
virtual bool | getNumberOfMotors (int *number)=0 |
| Retrieves the number of controlled motors from the current physical interface. More...
|
|
virtual bool | setRefDutyCycle (int m, double ref)=0 |
| Sets the reference dutycycle to a single motor. More...
|
|
virtual bool | setRefDutyCycles (const double *refs)=0 |
| Sets the reference dutycycle for all the motors. More...
|
|
virtual bool | getRefDutyCycle (int m, double *ref)=0 |
| Gets the last reference sent using the setRefDutyCycle function. More...
|
|
virtual bool | getRefDutyCycles (double *refs)=0 |
| Gets the last reference sent using the setRefDutyCycles function. More...
|
|
virtual bool | getDutyCycle (int m, double *val)=0 |
| Gets the current dutycycle of the output of the amplifier (i.e. More...
|
|
virtual bool | getDutyCycles (double *vals)=0 |
| Gets the current dutycycle of the output of the amplifier (i.e. More...
|
|
Interface for controlling an axis, by sending directly a PWM reference signal to a motor.
Definition at line 27 of file IPWMControl.h.
◆ ~IPWMControl()
virtual yarp::dev::IPWMControl::~IPWMControl |
( |
| ) |
|
|
inlinevirtual |
◆ getDutyCycle()
virtual bool yarp::dev::IPWMControl::getDutyCycle |
( |
int |
m, |
|
|
double * |
val |
|
) |
| |
|
pure virtual |
◆ getDutyCycles()
virtual bool yarp::dev::IPWMControl::getDutyCycles |
( |
double * |
vals | ) |
|
|
pure virtual |
◆ getNumberOfMotors()
virtual bool yarp::dev::IPWMControl::getNumberOfMotors |
( |
int * |
number | ) |
|
|
pure virtual |
◆ getRefDutyCycle()
virtual bool yarp::dev::IPWMControl::getRefDutyCycle |
( |
int |
m, |
|
|
double * |
ref |
|
) |
| |
|
pure virtual |
◆ getRefDutyCycles()
virtual bool yarp::dev::IPWMControl::getRefDutyCycles |
( |
double * |
refs | ) |
|
|
pure virtual |
◆ setRefDutyCycle()
virtual bool yarp::dev::IPWMControl::setRefDutyCycle |
( |
int |
m, |
|
|
double |
ref |
|
) |
| |
|
pure virtual |
◆ setRefDutyCycles()
virtual bool yarp::dev::IPWMControl::setRefDutyCycles |
( |
const double * |
refs | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: