YARP
Yet Another Robot Platform
ControlBoardWrapperImpedanceControl.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERIMPEDANCECONTROL_H
7#define YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERIMPEDANCECONTROL_H
8
10
12
14 virtual public ControlBoardWrapperCommon,
16{
17public:
18 inline bool getAxes(int* ax) override { return ControlBoardWrapperCommon::getAxes(ax); }
19 bool setImpedance(int j, double stiff, double damp) override;
20 bool setImpedanceOffset(int j, double offset) override;
21 bool getImpedance(int j, double* stiff, double* damp) override;
22 bool getImpedanceOffset(int j, double* offset) override;
23 bool getCurrentImpedanceLimit(int j, double* min_stiff, double* max_stiff, double* min_damp, double* max_damp) override;
24};
25
26#endif // YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERIMPEDANCECONTROL_H
bool getAxes(int *ax) override
Get the number of controlled axes.
bool getImpedance(int j, double *stiff, double *damp) 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.
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 setImpedanceOffset(int j, double offset) override
Set current force Offset for a specific joint.
bool setImpedance(int j, double stiff, double damp) override
Set current impedance gains (stiffness,damping) for a specific joint.
Interface for control boards implementing impedance control.