|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
25 size_t subIndex =
device.
lut[j].deviceEntry;
48 size_t subIndex =
device.
lut[j].deviceEntry;
82 for (
size_t juser = p->
wbase, jdevice = p->
base; juser <= p->wtop; juser++, jdevice++) {
83 st[juser] = status[jdevice];
106 size_t subIndex =
device.
lut[j].deviceEntry;
126 size_t subIndex =
device.
lut[j].deviceEntry;
149 size_t subIndex =
device.
lut[j].deviceEntry;
168 size_t subIndex =
device.
lut[m].deviceEntry;
187 size_t subIndex =
device.
lut[m].deviceEntry;
206 size_t subIndex =
device.
lut[m].deviceEntry;
223 size_t subIndex =
device.
lut[m].deviceEntry;
240 size_t subIndex =
device.
lut[m].deviceEntry;
260 size_t subIndex =
device.
lut[m].deviceEntry;
281 size_t subIndex =
device.
lut[m].deviceEntry;
298 size_t subIndex =
device.
lut[m].deviceEntry;
bool getAmpStatus(int *st) override
bool setNominalCurrent(int m, const double val) override
virtual bool setMaxCurrent(int j, double v)=0
virtual bool enableAmp(int j)=0
Enable the amplifier on a specific joint.
virtual bool getAmpStatus(int *st)=0
bool getPowerSupplyVoltage(int m, double *val) override
yarp::dev::IControlMode * iMode
yarp::dev::IPositionControl * pos
bool setMaxCurrent(int j, double v) override
virtual bool getPeakCurrent(int m, double *val)
virtual bool setPWMLimit(int j, const double val)
bool getPeakCurrent(int m, double *val) override
virtual bool getPWMLimit(int j, double *val)
bool getMaxCurrent(int j, double *v) override
Returns the maximum electric current allowed for a given motor.
virtual bool getPWM(int j, double *val)
bool enableAmp(int j) override
Enable the amplifier on a specific joint.
const yarp::os::LogComponent & CONTROLBOARDWRAPPER()
virtual bool setPeakCurrent(int m, const double val)
bool disableAmp(int j) override
Disable the amplifier on a specific joint.
virtual bool getPowerSupplyVoltage(int j, double *val)
bool getPWM(int m, double *val) override
SubDevice * getSubdevice(size_t i)
SubDeviceVector subdevices
bool getNominalCurrent(int m, double *val) override
constexpr yarp::conf::vocab32_t VOCAB_CM_IDLE
virtual bool getNominalCurrent(int m, double *val)
virtual bool disableAmp(int j)=0
Disable the amplifier on a specific joint.
bool setPeakCurrent(int m, const double val) override
virtual bool getMaxCurrent(int j, double *v)=0
Returns the maximum electric current allowed for a given motor.
virtual bool setNominalCurrent(int m, const double val)
#define yCError(component,...)
bool getPWMLimit(int m, double *val) override
virtual bool setControlMode(const int j, const int mode)=0
Set the current control mode.
std::vector< DevicesLutEntry > lut
#define yCTrace(component,...)
size_t maxNumOfJointsInDevices
bool setPWMLimit(int m, const double val) override
yarp::dev::IAmplifierControl * amp
void printError(const std::string &func_name, const std::string &info, bool result)