|
YARP
Yet Another Robot Platform
|
|
bool getPWMLimit(int j, double *val) override
virtual bool enableAmpRaw(int j)=0
Enable the amplifier on a specific joint.
virtual bool setNominalCurrentRaw(int m, const double val)
virtual bool setPWMLimitRaw(int j, const double val)
void ampereS2A(const double *sens, double *ampere)
virtual bool getAmpStatusRaw(int *st)=0
bool setNominalCurrent(int m, const double val) override
ImplementAmplifierControl(yarp::dev::IAmplifierControlRaw *y)
virtual bool getCurrentsRaw(double *vals)=0
void ampereA2S(double ampere, int j, double &sens, int &k)
bool uninitialize()
Clean up internal data and memory.
bool getCurrent(int j, double *val) override
bool setMaxCurrent(int j, double v) override
An interface for the device drivers.
bool getPowerSupplyVoltage(int j, double *val) override
bool getCurrents(double *vals) override
virtual bool getMaxCurrentRaw(int j, double *v)=0
Returns the maximum electric current allowed for a given motor.
bool disableAmp(int j) override
Disable the amplifier on a specific joint.
bool getNominalCurrent(int m, double *val) override
bool getAmpStatus(int *st) override
virtual bool getPowerSupplyVoltageRaw(int j, double *val)
bool setPeakCurrent(int m, const double val) override
bool getMaxCurrent(int j, double *v) override
Returns the maximum electric current allowed for a given motor.
IAmplifierControlRaw * iAmplifier
virtual bool getPWMRaw(int j, double *val)
bool enableAmp(int j) override
Enable the amplifier on a specific joint.
bool getPeakCurrent(int m, double *val) override
virtual bool getCurrentRaw(int j, double *val)=0
virtual bool setPeakCurrentRaw(int m, const double val)
yarp::dev::ControlBoardHelper * castToMapper(void *p)
virtual bool getPWMLimitRaw(int j, double *val)
virtual bool disableAmpRaw(int j)=0
Disable the amplifier on a specific joint.
virtual bool getPeakCurrentRaw(int m, double *val)
bool setPWMLimit(int j, const double val) override
Interface for control devices, amplifier commands.
virtual bool getNominalCurrentRaw(int m, double *val)
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.
virtual bool setMaxCurrentRaw(int j, double v)=0
bool getPWM(int j, double *val) override