Interface for control devices, amplifier commands.
More...
#include <yarp/dev/IAmplifierControl.h>
|
| virtual | ~IAmplifierControlRaw () |
| | Destructor.
|
| |
| virtual yarp::dev::ReturnValue | enableAmpRaw (int j)=0 |
| | Enable the amplifier on a specific joint.
|
| |
| virtual yarp::dev::ReturnValue | disableAmpRaw (int j)=0 |
| | Disable the amplifier on a specific joint.
|
| |
| virtual yarp::dev::ReturnValue | getAmpStatusRaw (int *st)=0 |
| |
| virtual yarp::dev::ReturnValue | getAmpStatusRaw (int j, int *st)=0 |
| |
| virtual yarp::dev::ReturnValue | getCurrentsRaw (double *vals)=0 |
| |
| virtual yarp::dev::ReturnValue | getCurrentRaw (int j, double *val)=0 |
| |
| virtual yarp::dev::ReturnValue | setMaxCurrentRaw (int j, double v)=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 | getNominalCurrentRaw (int m, double *val)=0 |
| |
| virtual yarp::dev::ReturnValue | setNominalCurrentRaw (int m, const 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 | getPWMRaw (int j, double *val)=0 |
| |
| virtual yarp::dev::ReturnValue | getPWMLimitRaw (int j, double *val)=0 |
| |
| virtual yarp::dev::ReturnValue | setPWMLimitRaw (int j, const double val)=0 |
| |
| virtual yarp::dev::ReturnValue | getPowerSupplyVoltageRaw (int j, double *val)=0 |
| |
Interface for control devices, amplifier commands.
Definition at line 172 of file IAmplifierControl.h.
◆ ~IAmplifierControlRaw()
| virtual yarp::dev::IAmplifierControlRaw::~IAmplifierControlRaw |
( |
| ) |
|
|
inlinevirtual |
◆ disableAmpRaw()
Disable the amplifier on a specific joint.
All computations within the board will be carried out normally, but the output will be disabled.
- Returns
- true/false on success/failure
Implemented in FakeMotionControl.
◆ enableAmpRaw()
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.
- Returns
- true/false on success/failure
Implemented in FakeMotionControl.
◆ getAmpStatusRaw() [1/2]
◆ getAmpStatusRaw() [2/2]
◆ getCurrentRaw()
◆ getCurrentsRaw()
◆ getMaxCurrentRaw()
Returns the maximum electric current allowed for a given motor.
Exceeding this value will trigger instantaneous hardware fault.
- Parameters
-
| j | motor number |
| v | the return value |
- Returns
- probably true, might return false in bad times
Implemented in FakeMotionControl.
◆ getNominalCurrentRaw()
◆ getPeakCurrentRaw()
◆ getPowerSupplyVoltageRaw()
| virtual yarp::dev::ReturnValue yarp::dev::IAmplifierControlRaw::getPowerSupplyVoltageRaw |
( |
int |
j, |
|
|
double * |
val |
|
) |
| |
|
pure virtual |
◆ getPWMLimitRaw()
◆ getPWMRaw()
◆ setMaxCurrentRaw()
◆ setNominalCurrentRaw()
| virtual yarp::dev::ReturnValue yarp::dev::IAmplifierControlRaw::setNominalCurrentRaw |
( |
int |
m, |
|
|
const double |
val |
|
) |
| |
|
pure virtual |
◆ setPeakCurrentRaw()
◆ setPWMLimitRaw()
The documentation for this class was generated from the following file: