7#ifndef YARP_DEV_IMPLEMENTPWMCONTROL_H
8#define YARP_DEV_IMPLEMENTPWMCONTROL_H
15class ImplementPWMControl;
21class FixedSizeBuffersManager;
31 bool initialize(
int k,
const int *amap,
const double* dutyToPWM);
Interface for controlling an axis, by sending directly a PWM reference signal to a motor.
Interface for controlling an axis, by sending directly a PWM reference signal to a motor.
bool initialize(int k, const int *amap, const double *dutyToPWM)
bool getDutyCycle(int j, double *v) override
Gets the current dutycycle of the output of the amplifier (i.e.
bool getDutyCycles(double *v) override
Gets the current dutycycle of the output of the amplifier (i.e.
bool getNumberOfMotors(int *ax) override
Retrieves the number of controlled motors from the current physical interface.
bool getRefDutyCycle(int j, double *v) override
Gets the last reference sent using the setRefDutyCycle function.
bool getRefDutyCycles(double *v) override
Gets the last reference sent using the setRefDutyCycles function.
bool setRefDutyCycles(const double *v) override
Sets the reference dutycycle for all the motors.
bool setRefDutyCycle(int j, double v) override
Sets the reference dutycycle to a single motor.
A manager of fixed size buffers in multi-thread environment.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.