|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IMPLEMENTIMPEDANCECONTROL_H
10 #define YARP_DEV_IMPLEMENTIMPEDANCECONTROL_H
17 class ImplementImpedanceControl;
33 bool initialize (
int size,
const int *amap,
const double *enc,
const double *zos,
const double *nw);
54 bool getImpedance(
int j,
double *stiffness,
double *damping)
override;
55 bool setImpedance(
int j,
double stiffness,
double damping)
override;
58 bool getCurrentImpedanceLimit(
int j,
double *min_stiff,
double *max_stiff,
double *min_damp,
double *max_damp)
override;
62 #endif // YARP_DEV_IMPLEMENTIMPEDANCECONTROL_H
Interface for control boards implementing impedance control.
yarp::dev::IImpedanceControlRaw * iImpedanceRaw
virtual bool getCurrentImpedanceLimit(int j, double *min_stiff, double *max_stiff, double *min_damp, double *max_damp)=0
Get the current impedandance limits for a specific joint.
virtual bool setImpedance(int j, double stiffness, double damping)=0
Set current impedance gains (stiffness,damping) for a specific joint.
Interface for control boards implementing impedance control.
virtual ~ImplementImpedanceControl()
Destructor.
virtual bool getAxes(int *ax)=0
Get the number of controlled axes.
bool uninitialize()
Clean up internal data and memory.
virtual bool setImpedanceOffset(int j, double offset)=0
Set 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.
virtual bool getImpedanceOffset(int j, double *offset)=0
Get current force Offset for a specific joint.
virtual bool getImpedance(int j, double *stiffness, double *damping)=0
Get current impedance gains (stiffness,damping,offset) for a specific joint.
The main, catch-all namespace for YARP.
ImplementImpedanceControl(yarp::dev::IImpedanceControlRaw *y)