YARP
Yet Another Robot Platform
ControlBoardWrapperControlMode.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_CONTROLBOARDWRAPPERCONTROLMODE_H
7#define YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERCONTROLMODE_H
8
10
12
14 virtual public ControlBoardWrapperCommon,
16{
17public:
18 bool getControlMode(int j, int* mode) override;
19 bool getControlModes(int* modes) override;
20 bool getControlModes(const int n_joint, const int* joints, int* modes) override;
21 bool setControlMode(const int j, const int mode) override;
22 bool setControlModes(const int n_joints, const int* joints, int* modes) override;
23 bool setControlModes(int* modes) override;
24};
25
26#endif // YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERCONTROLMODE_H
bool getControlModes(int *modes) override
Get the current control mode (multiple joints).
bool setControlMode(const int j, const int mode) override
Set the current control mode.
bool getControlMode(int j, int *mode) override
Get the current control mode.
bool setControlModes(const int n_joints, const int *joints, int *modes) override
Set the current control mode for a subset of axes.
Interface for setting control mode in control board.
Definition: IControlMode.h:23