#include <yarp/dev/ImplementImpedanceControl.h>
Inheritance diagram for yarp::dev::ImplementImpedanceControl:Public Member Functions | |
| ImplementImpedanceControl (yarp::dev::IImpedanceControlRaw *y) | |
| virtual | ~ImplementImpedanceControl () |
| Destructor. | |
| bool | getAxes (int *ax) override |
| Get the number of controlled axes. | |
| bool | getImpedance (int j, double *stiffness, double *damping) override |
| Get current impedance gains (stiffness,damping,offset) for a specific joint. | |
| bool | setImpedance (int j, double stiffness, double damping) override |
| Set current impedance gains (stiffness,damping) for a specific joint. | |
| bool | setImpedanceOffset (int j, double offset) override |
| Set current force Offset for a specific joint. | |
| bool | getImpedanceOffset (int j, double *offset) override |
| Get current force Offset for a specific joint. | |
| 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. | |
Public Member Functions inherited from yarp::dev::IImpedanceControl | |
| virtual | ~IImpedanceControl () |
| Destructor. | |
Protected Member Functions | |
| bool | initialize (int size, const int *amap, const double *enc, const double *zos, const double *nw) |
| Initialize the internal data and alloc memory. | |
| bool | uninitialize () |
| Clean up internal data and memory. | |
Protected Attributes | |
| yarp::dev::IImpedanceControlRaw * | iImpedanceRaw |
| void * | helper |
Definition at line 16 of file ImplementImpedanceControl.h.
| ImplementImpedanceControl::ImplementImpedanceControl | ( | yarp::dev::IImpedanceControlRaw * | y | ) |
Definition at line 18 of file ImplementImpedanceControl.cpp.
|
virtual |
Destructor.
Perform uninitialize if needed.
Definition at line 36 of file ImplementImpedanceControl.cpp.
|
overridevirtual |
Get the number of controlled axes.
This command asks the number of controlled axes for the current physical interface.
Implements yarp::dev::IImpedanceControl.
Definition at line 52 of file ImplementImpedanceControl.cpp.
|
overridevirtual |
Get the current impedandance limits for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 101 of file ImplementImpedanceControl.cpp.
|
overridevirtual |
Get current impedance gains (stiffness,damping,offset) for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 68 of file ImplementImpedanceControl.cpp.
|
overridevirtual |
Get current force Offset for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 91 of file ImplementImpedanceControl.cpp.
|
protected |
Initialize the internal data and alloc memory.
| size | is the number of controlled axes the driver deals with. |
| amap | is a lookup table mapping axes onto physical drivers. |
Definition at line 24 of file ImplementImpedanceControl.cpp.
|
overridevirtual |
Set current impedance gains (stiffness,damping) for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 57 of file ImplementImpedanceControl.cpp.
|
overridevirtual |
Set current force Offset for a specific joint.
Implements yarp::dev::IImpedanceControl.
Definition at line 82 of file ImplementImpedanceControl.cpp.
|
protected |
Clean up internal data and memory.
Definition at line 41 of file ImplementImpedanceControl.cpp.
|
protected |
Definition at line 20 of file ImplementImpedanceControl.h.
|
protected |
Definition at line 19 of file ImplementImpedanceControl.h.