6#ifndef YARP_DEV_IMPLEMENTCURRENTCONTROL_H
7#define YARP_DEV_IMPLEMENTCURRENTCONTROL_H
13class ImplementCurrentControl;
19class FixedSizeBuffersManager;
37 bool initialize(
int size,
const int *amap,
const double* ampsToSens);
62 bool setRefCurrents(
const int n_joint,
const int *joints,
const double *
t)
override;
Interface for control boards implementing current control.
Interface for control boards implementing current control.
bool getCurrentRanges(double *min, double *max) override
Get the full scale of the current measurements for all motors motor (e.g.
yarp::dev::impl::FixedSizeBuffersManager< int > * intBuffManager
bool getCurrents(double *t) override
Get the instantaneous current measurement for all motors.
bool getCurrent(int j, double *t) override
Get the instantaneous current measurement for a single motor.
bool uninitialize()
Clean up internal data and memory.
bool getRefCurrents(double *t) override
Get the reference value of the currents for all motors.
bool getRefCurrent(int j, double *) override
Get the reference value of the current for a single motor.
yarp::dev::impl::FixedSizeBuffersManager< double > * doubleBuffManager
bool setRefCurrents(const double *t) override
Set the reference value of the currents for all motors.
bool getCurrentRange(int j, double *min, double *max) override
Get the full scale of the current measurement for a given motor (e.g.
bool getNumberOfMotors(int *ax) override
Retrieves the number of controlled axes from the current physical interface.
yarp::dev::ICurrentControlRaw * iCurrentRaw
bool initialize(int size, const int *amap, const double *ampsToSens)
Initialize the internal data and alloc memory.
virtual ~ImplementCurrentControl()
Destructor.
bool setRefCurrent(int j, double t) override
Set the reference value of the current for a single motor.
A manager of fixed size buffers in multi-thread environment.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.