|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IMPLEMENTAMPLIFIERCONTROL_H
10 #define YARP_DEV_IMPLEMENTAMPLIFIERCONTROL_H
19 class ImplementAmplifierControl;
39 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos,
const double *ampereFactor=NULL,
const double *voltFactor=NULL);
164 bool getPWM(
int j,
double* val)
override;
180 bool setPWMLimit(
int j,
const double val)
override;
191 #endif // YARP_DEV_IMPLEMENTAMPLIFIERCONTROL_H
virtual bool setMaxCurrent(int j, double v)=0
virtual bool enableAmp(int j)=0
Enable the amplifier on a specific joint.
ImplementAmplifierControl(yarp::dev::IAmplifierControlRaw *y)
virtual bool getAmpStatus(int *st)=0
bool uninitialize()
Clean up internal data and memory.
virtual bool getPeakCurrent(int m, double *val)
define control board standard interfaces
virtual bool getCurrent(int j, double *val)=0
virtual bool setPWMLimit(int j, const double val)
virtual bool getPWMLimit(int j, double *val)
virtual bool getPWM(int j, double *val)
virtual bool setPeakCurrent(int m, const double val)
virtual bool getPowerSupplyVoltage(int j, double *val)
virtual bool getNominalCurrent(int m, double *val)
virtual bool disableAmp(int j)=0
Disable the amplifier on a specific joint.
virtual bool getMaxCurrent(int j, double *v)=0
Returns the maximum electric current allowed for a given motor.
Interface for control devices, amplifier commands.
virtual bool setNominalCurrent(int m, const double val)
IAmplifierControlRaw * iAmplifier
virtual bool getCurrents(double *vals)=0
The main, catch-all namespace for YARP.
Interface for control devices, amplifier commands.
virtual ~ImplementAmplifierControl()
Destructor.
bool initialize(int size, const int *amap, const double *enc, const double *zos, const double *ampereFactor=NULL, const double *voltFactor=NULL)
Initialize the internal data and alloc memory.