YARP
Yet Another Robot Platform
ControlBoardWrapperInteractionMode.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 #ifndef YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERINTERACTIONMODE_H
10 #define YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERINTERACTIONMODE_H
11 
13 
15 
16 
18  virtual public ControlBoardWrapperCommon,
20 {
21 public:
22  bool getInteractionMode(int j, yarp::dev::InteractionModeEnum* mode) override;
23  bool getInteractionModes(int n_joints, int* joints, yarp::dev::InteractionModeEnum* modes) override;
25  bool setInteractionMode(int j, yarp::dev::InteractionModeEnum mode) override;
26  bool setInteractionModes(int n_joints, int* joints, yarp::dev::InteractionModeEnum* modes) override;
28 };
29 
30 #endif // YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERINTERACTIONMODE_H
ControlBoardWrapperInteractionMode
Definition: ControlBoardWrapperInteractionMode.h:20
ControlBoardWrapperInteractionMode::getInteractionModes
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.
Definition: ControlBoardWrapperInteractionMode.cpp:37
yarp::dev::IInteractionMode
Interface settings the way the robot interacts with the environment: basic interaction types are Stif...
Definition: IInteractionMode.h:43
ControlBoardWrapperInteractionMode::setInteractionMode
bool setInteractionMode(int j, yarp::dev::InteractionModeEnum mode) override
Set the interaction mode of the robot, values can be stiff or compliant.
Definition: ControlBoardWrapperInteractionMode.cpp:113
ControlBoardWrapperInteractionMode::setInteractionModes
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.
Definition: ControlBoardWrapperInteractionMode.cpp:135
yarp::dev::InteractionModeEnum
InteractionModeEnum
Definition: IInteractionMode.h:21
ControlBoardWrapperCommon.h
ControlBoardWrapperCommon
Definition: ControlBoardWrapperCommon.h:19
ControlBoardWrapperInteractionMode::getInteractionMode
bool getInteractionMode(int j, yarp::dev::InteractionModeEnum *mode) override
Get the current interaction mode of the robot, values can be stiff or compliant.
Definition: ControlBoardWrapperInteractionMode.cpp:15
IInteractionMode.h