YARP
Yet Another Robot Platform
ControlBoardWrapperInteractionMode.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_CONTROLBOARDWRAPPERINTERACTIONMODE_H
7#define YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERINTERACTIONMODE_H
8
10
12
13
15 virtual public ControlBoardWrapperCommon,
17{
18public:
19 bool getInteractionMode(int j, yarp::dev::InteractionModeEnum* mode) override;
20 bool getInteractionModes(int n_joints, int* joints, yarp::dev::InteractionModeEnum* modes) override;
22 bool setInteractionMode(int j, yarp::dev::InteractionModeEnum mode) override;
23 bool setInteractionModes(int n_joints, int* joints, yarp::dev::InteractionModeEnum* modes) override;
25};
26
27#endif // YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERINTERACTIONMODE_H
bool setInteractionMode(int j, yarp::dev::InteractionModeEnum mode) override
Set the interaction mode of the robot, values can be stiff or compliant.
bool setInteractionModes(int n_joints, int *joints, yarp::dev::InteractionModeEnum *modes) override
Set the interaction mode of the robot for a set of joints, values can be stiff or compliant.
bool getInteractionMode(int j, yarp::dev::InteractionModeEnum *mode) override
Get the current interaction mode of the robot, values can be stiff or compliant.
bool getInteractionModes(int n_joints, int *joints, yarp::dev::InteractionModeEnum *modes) override
Get the current interaction mode of the robot for a set of joints, values can be stiff or compliant.
Interface settings the way the robot interacts with the environment: basic interaction types are Stif...