Interface for control devices, amplifier commands. More...
#include <yarp/dev/IAmplifierControl.h>
Inheritance diagram for yarp::dev::IAmplifierControl:Public Member Functions | |
| virtual | ~IAmplifierControl () |
| Destructor. | |
| virtual yarp::dev::ReturnValue | enableAmp (int j)=0 |
| Enable the amplifier on a specific joint. | |
| virtual yarp::dev::ReturnValue | disableAmp (int j)=0 |
| Disable the amplifier on a specific joint. | |
| virtual yarp::dev::ReturnValue | getAmpStatus (int *st)=0 |
| virtual yarp::dev::ReturnValue | getAmpStatus (int j, int *v)=0 |
| virtual yarp::dev::ReturnValue | getCurrents (double *vals)=0 |
| virtual yarp::dev::ReturnValue | getCurrent (int j, double *val)=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 | setMaxCurrent (int j, double v)=0 |
| virtual yarp::dev::ReturnValue | getNominalCurrent (int m, 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 | setPeakCurrent (int m, const double val)=0 |
| virtual yarp::dev::ReturnValue | getPWM (int j, double *val)=0 |
| virtual yarp::dev::ReturnValue | getPWMLimit (int j, double *val)=0 |
| virtual yarp::dev::ReturnValue | setPWMLimit (int j, const double val)=0 |
| virtual yarp::dev::ReturnValue | getPowerSupplyVoltage (int j, double *val)=0 |
Interface for control devices, amplifier commands.
Definition at line 25 of file IAmplifierControl.h.
|
inlinevirtual |
Destructor.
Definition at line 31 of file IAmplifierControl.h.
|
pure virtual |
Disable the amplifier on a specific joint.
All computations within the board will be carried out normally, but the output will be disabled.
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, ControlBoard_nwc_yarp, and yarp::dev::ImplementAmplifierControl.
|
pure virtual |
Enable the amplifier on a specific joint.
Be careful, check that the output of the controller is appropriate (usually zero), to avoid generating abrupt movements.
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, ControlBoard_nwc_yarp, and yarp::dev::ImplementAmplifierControl.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns the maximum electric current allowed for a given motor.
Exceeding this value will trigger instantaneous hardware fault.
| j | motor number |
| v | the return value |
Implemented in yarp::dev::xHandControlBoard, ControlBoardRemapper, ControlBoard_nwc_yarp, and yarp::dev::ImplementAmplifierControl.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |