YARP
Yet Another Robot Platform
ControlBoardWrapperControlLimits.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_CONTROLBOARDWRAPPERCONTROLLIMITS_H
10 #define YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERCONTROLLIMITS_H
11 
13 
15 
17  virtual public ControlBoardWrapperCommon,
19 {
20 public:
21  bool setLimits(int j, double min, double max) override;
22  bool getLimits(int j, double* min, double* max) override;
23  bool setVelLimits(int j, double min, double max) override;
24  bool getVelLimits(int j, double* min, double* max) override;
25 };
26 
27 #endif // YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPERCONTROLLIMITS_H
ControlBoardWrapperControlLimits
Definition: ControlBoardWrapperControlLimits.h:19
ControlBoardWrapperControlLimits::setVelLimits
bool setVelLimits(int j, double min, double max) override
Set the software speed limits for a particular axis, the behavior of the control card when these limi...
Definition: ControlBoardWrapperControlLimits.cpp:62
yarp::dev::IControlLimits
Interface for control devices, commands to get/set position and veloity limits.
Definition: IControlLimits.h:33
ControlBoardWrapperCommon.h
ControlBoardWrapperCommon
Definition: ControlBoardWrapperCommon.h:19
ControlBoardWrapperControlLimits::getLimits
bool getLimits(int j, double *min, double *max) override
Get the software limits for a particular axis.
Definition: ControlBoardWrapperControlLimits.cpp:36
ControlBoardWrapperControlLimits::setLimits
bool setLimits(int j, double min, double max) override
Set the software limits for a particular axis, the behavior of the control card when these limits are...
Definition: ControlBoardWrapperControlLimits.cpp:14
IControlLimits.h
define control board standard interfaces
ControlBoardWrapperControlLimits::getVelLimits
bool getVelLimits(int j, double *min, double *max) override
Get the software speed limits for a particular axis.
Definition: ControlBoardWrapperControlLimits.cpp:84