6#ifndef YARP_DEV_IMPLEMENTCURRENTCONTROL_H
7#define YARP_DEV_IMPLEMENTCURRENTCONTROL_H
13class ImplementCurrentControl;
19class FixedSizeBuffersManager;
27 void* m_helper=
nullptr;
38 bool initialize(
int size,
const int *amap,
const double* ampsToSens);
Interface for control boards implementing current control.
Interface for control boards implementing current control.
bool uninitialize()
Clean up internal data and memory.
yarp::dev::ReturnValue getCurrents(double *t) override
Get the instantaneous current measurement for all motors.
std::vector< double > m_buffer_doubles2
std::vector< double > m_buffer_doubles
yarp::dev::ReturnValue getCurrentRange(int j, double *min, double *max) override
Get the full scale of the current measurement for a given motor (e.g.
yarp::dev::ReturnValue getCurrent(int j, double *t) override
Get the instantaneous current measurement for a single motor.
std::vector< int > m_buffer_ints
yarp::dev::ReturnValue getRefCurrents(double *t) override
Get the reference value of the currents for all motors.
bool initialize(int size, const int *amap, const double *ampsToSens)
Initialize the internal data and alloc memory.
yarp::dev::ReturnValue getCurrentRanges(double *min, double *max) override
Get the full scale of the current measurements for all motors motor (e.g.
yarp::dev::ReturnValue getNumberOfMotors(int *ax) override
Retrieves the number of controlled axes from the current physical interface.
virtual ~ImplementCurrentControl()
Destructor.
yarp::dev::ReturnValue setRefCurrent(int j, double t) override
Set the reference value of the current for a single motor.
yarp::dev::ReturnValue setRefCurrents(const double *t) override
Set the reference value of the currents for all motors.
yarp::dev::ReturnValue getRefCurrent(int j, double *) override
Get the reference value of the current for a single motor.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.