|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_ICURRENTCONTROL_H
10 #define YARP_DEV_ICURRENTCONTROL_H
17 class ICurrentControlRaw;
18 class ICurrentControl;
93 virtual bool setRefCurrents(
const int n_motor,
const int *motors,
const double *currs) = 0;
205 #endif // YARP_DEV_ICURRENTCONTROL_H
constexpr yarp::conf::vocab32_t VOCAB_CURRENT_RANGE
virtual bool getRefCurrent(int m, double *curr)=0
Get the reference value of the current for a single motor.
virtual bool getRefCurrentsRaw(double *currs)=0
Get the reference value of the currents for all motors.
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
constexpr yarp::conf::vocab32_t VOCAB_CURRENT_REF_GROUP
virtual bool getCurrentRangeRaw(int m, double *min, double *max)=0
Get the full scale of the current measurement for a given motor (e.g.
virtual bool getNumberOfMotorsRaw(int *number)=0
Retrieves the number of controlled motors from the current physical interface.
virtual bool getCurrentRangesRaw(double *min, double *max)=0
Get the full scale of the current measurements for all motors motor (e.g.
virtual bool setRefCurrentRaw(int m, double curr)=0
Set the reference value of the current for a single motor.
virtual bool setRefCurrents(const double *currs)=0
Set the reference value of the currents for all motors.
virtual bool getCurrents(double *currs)=0
Get the instantaneous current measurement for all motors.
Interface for control boards implementing current control.
virtual ~ICurrentControlRaw()
Destructor.
virtual bool getCurrent(int m, double *curr)=0
Get the instantaneous current measurement for a single motor.
constexpr yarp::conf::vocab32_t VOCAB_CURRENT_REFS
virtual bool getCurrentsRaw(double *currs)=0
Get the instantaneous current measurement for all motors.
virtual bool getRefCurrents(double *currs)=0
Get the reference value of the currents for all motors.
virtual bool setRefCurrentsRaw(const int n_motor, const int *motors, const double *currs)=0
Set the reference value of the current for a group of motors.
virtual bool getRefCurrentRaw(int m, double *curr)=0
Get the reference value of the current for a single motor.
virtual bool setRefCurrentsRaw(const double *currs)=0
Set the reference value of the currents for all motors.
constexpr yarp::conf::vocab32_t VOCAB_CURRENTCONTROL_INTERFACE
Interface for control boards implementing current control.
virtual bool setRefCurrent(int m, double curr)=0
Set the reference value of the current for a single motor.
virtual bool getCurrentRange(int m, double *min, double *max)=0
Get the full scale of the current measurement for a given motor (e.g.
The main, catch-all namespace for YARP.
virtual bool getNumberOfMotors(int *ax)=0
Retrieves the number of controlled axes from the current physical interface.
virtual ~ICurrentControl()
Destructor.
virtual bool getCurrentRaw(int m, double *curr)=0
Get the instantaneous current measurement for a single motor.
virtual bool getCurrentRanges(double *min, double *max)=0
Get the full scale of the current measurements for all motors motor (e.g.
virtual bool setRefCurrents(const int n_motor, const int *motors, const double *currs)=0
Set the reference value of the current for a group of motors.
constexpr yarp::conf::vocab32_t VOCAB_CURRENT_RANGES
constexpr yarp::conf::vocab32_t VOCAB_CURRENT_REF