Interface for control devices, amplifier commands. More...
#include <yarp/dev/IAmplifierControl.h>
Public Member Functions | |
virtual | ~IAmplifierControlRaw () |
Destructor. | |
virtual bool | enableAmpRaw (int j)=0 |
Enable the amplifier on a specific joint. | |
virtual bool | disableAmpRaw (int j)=0 |
Disable the amplifier on a specific joint. | |
virtual bool | getAmpStatusRaw (int *st)=0 |
virtual bool | getAmpStatusRaw (int j, int *st)=0 |
virtual bool | getCurrentsRaw (double *vals)=0 |
virtual bool | getCurrentRaw (int j, double *val)=0 |
virtual bool | setMaxCurrentRaw (int j, double v)=0 |
virtual bool | getMaxCurrentRaw (int j, double *v)=0 |
Returns the maximum electric current allowed for a given motor. | |
virtual bool | getNominalCurrentRaw (int m, double *val) |
virtual bool | setNominalCurrentRaw (int m, const double val) |
virtual bool | getPeakCurrentRaw (int m, double *val) |
virtual bool | setPeakCurrentRaw (int m, const double val) |
virtual bool | getPWMRaw (int j, double *val) |
virtual bool | getPWMLimitRaw (int j, double *val) |
virtual bool | setPWMLimitRaw (int j, const double val) |
virtual bool | getPowerSupplyVoltageRaw (int j, double *val) |
Interface for control devices, amplifier commands.
Definition at line 172 of file IAmplifierControl.h.
|
inlinevirtual |
Destructor.
Definition at line 178 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 FakeMotionControl.
|
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 FakeMotionControl.
|
pure virtual |
Implemented in FakeMotionControl.
|
pure virtual |
Implemented in FakeMotionControl.
|
pure virtual |
Implemented in FakeMotionControl.
|
pure virtual |
Implemented in FakeMotionControl.
|
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 FakeMotionControl.
|
inlinevirtual |
Reimplemented in FakeMotionControl.
Definition at line 247 of file IAmplifierControl.h.
|
inlinevirtual |
Reimplemented in FakeMotionControl.
Definition at line 269 of file IAmplifierControl.h.
|
inlinevirtual |
Reimplemented in FakeMotionControl.
Definition at line 311 of file IAmplifierControl.h.
|
inlinevirtual |
Reimplemented in FakeMotionControl.
Definition at line 296 of file IAmplifierControl.h.
|
inlinevirtual |
Reimplemented in FakeMotionControl.
Definition at line 288 of file IAmplifierControl.h.
|
pure virtual |
Implemented in FakeMotionControl.
|
inlinevirtual |
Reimplemented in FakeMotionControl.
Definition at line 258 of file IAmplifierControl.h.
|
inlinevirtual |
Reimplemented in FakeMotionControl.
Definition at line 280 of file IAmplifierControl.h.
|
inlinevirtual |
Reimplemented in FakeMotionControl.
Definition at line 304 of file IAmplifierControl.h.