|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_DEV_IAMPLIFIERCONTROL_H
11 #define YARP_DEV_IAMPLIFIERCONTROL_H
22 class IAmplifierControlRaw;
23 class IAmplifierControl;
148 virtual bool getPWM(
int j,
double* val) {
return false;};
164 virtual bool setPWMLimit(
int j,
const double val) {
return false;};
294 virtual bool getPWMRaw(
int j,
double* val) {
return false;};
334 #endif // YARP_DEV_IAMPLIFIERCONTROL_H
constexpr yarp::conf::vocab32_t VOCAB_AMP_PEAK_CURRENT
virtual bool enableAmpRaw(int j)=0
Enable the amplifier on a specific joint.
virtual bool setMaxCurrent(int j, double v)=0
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
constexpr yarp::conf::vocab32_t VOCAB_AMP_CURRENT
constexpr yarp::conf::vocab32_t VOCAB_AMP_VOLTAGE_SUPPLY
virtual bool enableAmp(int j)=0
Enable the amplifier on a specific joint.
constexpr yarp::conf::vocab32_t VOCAB_AMP_PWM_LIMIT
constexpr yarp::conf::vocab32_t VOCAB_AMP_STATUS
virtual bool setNominalCurrentRaw(int m, const double val)
virtual bool setPWMLimitRaw(int j, const double val)
constexpr yarp::conf::vocab32_t VOCAB_AMP_NOMINAL_CURRENT
virtual bool getAmpStatus(int j, int *v)=0
constexpr yarp::conf::vocab32_t VOCAB_AMP_MAXCURRENT
virtual bool getAmpStatusRaw(int *st)=0
constexpr yarp::conf::vocab32_t VOCAB_AMP_DISABLE
constexpr yarp::conf::vocab32_t VOCAB_AMP_CURRENTS
virtual bool getAmpStatus(int *st)=0
virtual bool getCurrentsRaw(double *vals)=0
virtual bool getPeakCurrent(int m, double *val)
virtual bool getCurrent(int j, double *val)=0
virtual bool setPWMLimit(int j, const double val)
virtual ~IAmplifierControl()
Destructor.
virtual bool getPWMLimit(int j, double *val)
virtual bool getPWM(int j, double *val)
constexpr yarp::conf::vocab32_t VOCAB_AMP_ENABLE
virtual bool setPeakCurrent(int m, const double val)
virtual bool getPowerSupplyVoltage(int j, double *val)
virtual bool getMaxCurrentRaw(int j, double *v)=0
Returns the maximum electric current allowed for a given motor.
constexpr yarp::conf::vocab32_t VOCAB_AMP_PWM
virtual bool getNominalCurrent(int m, double *val)
virtual bool getPowerSupplyVoltageRaw(int j, double *val)
virtual bool getAmpStatusRaw(int j, int *st)=0
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)
virtual bool getPWMRaw(int j, double *val)
constexpr yarp::conf::vocab32_t VOCAB_AMP_STATUS_SINGLE
virtual bool getCurrentRaw(int j, double *val)=0
virtual bool setPeakCurrentRaw(int m, const double val)
virtual bool getCurrents(double *vals)=0
The main, catch-all namespace for YARP.
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)
Interface for control devices, amplifier commands.
virtual bool getNominalCurrentRaw(int m, double *val)
virtual ~IAmplifierControlRaw()
Destructor.
virtual bool setMaxCurrentRaw(int j, double v)=0