6#ifndef YARP_DEV_IMPLEMENTIMPEDANCECONTROL_H
7#define YARP_DEV_IMPLEMENTIMPEDANCECONTROL_H
14class ImplementImpedanceControl;
21 void* m_helper=
nullptr;
32 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos,
const double *nw);
Interface for control boards implementing impedance control.
Interface for control boards implementing impedance control.
std::vector< int > m_buffer_ints
bool uninitialize()
Clean up internal data and memory.
yarp::dev::ReturnValue getImpedance(int j, double *stiffness, double *damping) override
Get current impedance gains (stiffness,damping,offset) for a specific joint.
virtual ~ImplementImpedanceControl()
Destructor.
yarp::dev::ReturnValue getImpedanceOffset(int j, double *offset) override
Get current force Offset for a specific joint.
bool initialize(int size, const int *amap, const double *enc, const double *zos, const double *nw)
Initialize the internal data and alloc memory.
std::vector< double > m_buffer_doubles
yarp::dev::ReturnValue setImpedanceOffset(int j, double offset) override
Set current force Offset for a specific joint.
yarp::dev::ReturnValue getAxes(size_t &ax) override
Get the number of controlled axes.
yarp::dev::ReturnValue setImpedance(int j, double stiffness, double damping) override
Set current impedance gains (stiffness,damping) for a specific joint.
yarp::dev::ReturnValue getCurrentImpedanceLimit(int j, double *min_stiff, double *max_stiff, double *min_damp, double *max_damp) override
Get the current impedance limits for a specific joint.
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.