6#ifndef YARP_DEV_IMPLEMENTAMPLIFIERCONTROL_H
7#define YARP_DEV_IMPLEMENTAMPLIFIERCONTROL_H
13class ImplementAmplifierControl;
32 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos,
const double *ampereFactor=NULL,
const double *voltFactor=NULL);
157 bool getPWM(
int j,
double* val)
override;
173 bool setPWMLimit(
int j,
const double val)
override;
define control board standard interfaces
Interface for control devices, amplifier commands.
Interface for control devices, amplifier commands.
bool setPeakCurrent(int m, const double val) override
bool setNominalCurrent(int m, const double val) override
bool setMaxCurrent(int j, double v) override
virtual ~ImplementAmplifierControl()
Destructor.
bool getCurrent(int j, double *val) override
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.
IAmplifierControlRaw * iAmplifier
bool enableAmp(int j) override
Enable the amplifier on a specific joint.
bool getNominalCurrent(int m, double *val) override
bool getCurrents(double *vals) override
bool getPeakCurrent(int m, double *val) override
bool getPowerSupplyVoltage(int j, double *val) override
bool disableAmp(int j) override
Disable the amplifier on a specific joint.
bool getPWM(int j, double *val) override
bool getMaxCurrent(int j, double *v) override
Returns the maximum electric current allowed for a given motor.
bool getAmpStatus(int *st) override
bool uninitialize()
Clean up internal data and memory.
bool setPWMLimit(int j, const double val) override
bool getPWMLimit(int j, double *val) override
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.