6#ifndef YARP_DEV_IMPLEMENTIMPEDANCECONTROL_H
7#define YARP_DEV_IMPLEMENTIMPEDANCECONTROL_H
13class ImplementImpedanceControl;
28 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos,
const double *nw);
49 bool getImpedance(
int j,
double *stiffness,
double *damping)
override;
50 bool setImpedance(
int j,
double stiffness,
double damping)
override;
53 bool getCurrentImpedanceLimit(
int j,
double *min_stiff,
double *max_stiff,
double *min_damp,
double *max_damp)
override;
Interface for control boards implementing impedance control.
Interface for control boards implementing impedance control.
bool uninitialize()
Clean up internal data and memory.
bool getImpedance(int j, double *stiffness, double *damping) override
Get current impedance gains (stiffness,damping,offset) for a specific joint.
bool getImpedanceOffset(int j, double *offset) override
Get current force Offset for a specific joint.
virtual ~ImplementImpedanceControl()
Destructor.
bool initialize(int size, const int *amap, const double *enc, const double *zos, const double *nw)
Initialize the internal data and alloc memory.
yarp::dev::IImpedanceControlRaw * iImpedanceRaw
bool getCurrentImpedanceLimit(int j, double *min_stiff, double *max_stiff, double *min_damp, double *max_damp) override
Get the current impedandance limits for a specific joint.
bool getAxes(int *ax) override
Get the number of controlled axes.
bool setImpedanceOffset(int j, double offset) override
Set current force Offset for a specific joint.
bool setImpedance(int j, double stiffness, double damping) override
Set current impedance gains (stiffness,damping) 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.