7#ifndef YARP_DEV_IAMPLIFIERCONTROL_H
8#define YARP_DEV_IAMPLIFIERCONTROL_H
16class IAmplifierControlRaw;
17class IAmplifierControl;
constexpr yarp::conf::vocab32_t VOCAB_AMP_DISABLE
constexpr yarp::conf::vocab32_t VOCAB_AMP_PEAK_CURRENT
constexpr yarp::conf::vocab32_t VOCAB_AMP_ENABLE
constexpr yarp::conf::vocab32_t VOCAB_AMP_VOLTAGE_SUPPLY
constexpr yarp::conf::vocab32_t VOCAB_AMP_CURRENT
constexpr yarp::conf::vocab32_t VOCAB_AMP_MAXCURRENT
constexpr yarp::conf::vocab32_t VOCAB_AMP_STATUS_SINGLE
constexpr yarp::conf::vocab32_t VOCAB_AMP_STATUS
constexpr yarp::conf::vocab32_t VOCAB_AMP_NOMINAL_CURRENT
constexpr yarp::conf::vocab32_t VOCAB_AMP_PWM
constexpr yarp::conf::vocab32_t VOCAB_AMP_CURRENTS
constexpr yarp::conf::vocab32_t VOCAB_AMP_PWM_LIMIT
Interface for control devices, amplifier commands.
virtual yarp::dev::ReturnValue setMaxCurrentRaw(int j, double v)=0
virtual yarp::dev::ReturnValue getPowerSupplyVoltageRaw(int j, double *val)=0
virtual yarp::dev::ReturnValue disableAmpRaw(int j)=0
Disable the amplifier on a specific joint.
virtual yarp::dev::ReturnValue setPWMLimitRaw(int j, const double val)=0
virtual yarp::dev::ReturnValue setNominalCurrentRaw(int m, const double val)=0
virtual yarp::dev::ReturnValue getMaxCurrentRaw(int j, double *v)=0
Returns the maximum electric current allowed for a given motor.
virtual yarp::dev::ReturnValue getCurrentRaw(int j, double *val)=0
virtual yarp::dev::ReturnValue getPeakCurrentRaw(int m, double *val)=0
virtual yarp::dev::ReturnValue setPeakCurrentRaw(int m, const double val)=0
virtual yarp::dev::ReturnValue getAmpStatusRaw(int j, int *st)=0
virtual yarp::dev::ReturnValue getPWMRaw(int j, double *val)=0
virtual ~IAmplifierControlRaw()
Destructor.
virtual yarp::dev::ReturnValue enableAmpRaw(int j)=0
Enable the amplifier on a specific joint.
virtual yarp::dev::ReturnValue getAmpStatusRaw(int *st)=0
virtual yarp::dev::ReturnValue getCurrentsRaw(double *vals)=0
virtual yarp::dev::ReturnValue getNominalCurrentRaw(int m, double *val)=0
virtual yarp::dev::ReturnValue getPWMLimitRaw(int j, double *val)=0
Interface for control devices, amplifier commands.
virtual yarp::dev::ReturnValue setPWMLimit(int j, const double val)=0
virtual yarp::dev::ReturnValue setNominalCurrent(int m, const double val)=0
virtual yarp::dev::ReturnValue getPeakCurrent(int m, double *val)=0
virtual yarp::dev::ReturnValue disableAmp(int j)=0
Disable the amplifier on a specific joint.
virtual ~IAmplifierControl()
Destructor.
virtual yarp::dev::ReturnValue getPWMLimit(int j, double *val)=0
virtual yarp::dev::ReturnValue getCurrent(int j, double *val)=0
virtual yarp::dev::ReturnValue setPeakCurrent(int m, const double val)=0
virtual yarp::dev::ReturnValue getCurrents(double *vals)=0
virtual yarp::dev::ReturnValue getMaxCurrent(int j, double *v)=0
Returns the maximum electric current allowed for a given motor.
virtual yarp::dev::ReturnValue getAmpStatus(int j, int *v)=0
virtual yarp::dev::ReturnValue getPWM(int j, double *val)=0
virtual yarp::dev::ReturnValue getAmpStatus(int *st)=0
virtual yarp::dev::ReturnValue setMaxCurrent(int j, double v)=0
virtual yarp::dev::ReturnValue getNominalCurrent(int m, double *val)=0
virtual yarp::dev::ReturnValue enableAmp(int j)=0
Enable the amplifier on a specific joint.
virtual yarp::dev::ReturnValue getPowerSupplyVoltage(int j, double *val)=0
For streams capable of holding different kinds of content, check what they actually have.
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.
The main, catch-all namespace for YARP.