YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IControlLimits.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_DEV_ICONTROLLIMITS_H
8#define YARP_DEV_ICONTROLLIMITS_H
9
10#include <yarp/os/Vocab.h>
11#include <yarp/dev/api.h>
13
16namespace yarp::dev {
17class IControlLimitsRaw;
18class IControlLimits;
19}
20
27{
28public:
32 virtual ~IControlLimits() {}
33
42 virtual yarp::dev::ReturnValue setPosLimits(int axis, double min, double max)=0;
43
51 virtual yarp::dev::ReturnValue getPosLimits(int axis, double *min, double *max)=0;
52
61 virtual yarp::dev::ReturnValue setVelLimits(int axis, double min, double max)=0;
62
70 virtual yarp::dev::ReturnValue getVelLimits(int axis, double *min, double *max)=0;
71};
72
79{
80public:
84 virtual ~IControlLimitsRaw() {}
85
94 virtual yarp::dev::ReturnValue setPosLimitsRaw(int axis, double min, double max)=0;
95
103 virtual yarp::dev::ReturnValue getPosLimitsRaw(int axis, double *min, double *max)=0;
104
113 virtual yarp::dev::ReturnValue setVelLimitsRaw(int axis, double min, double max)=0;
114
122 virtual yarp::dev::ReturnValue getVelLimitsRaw(int axis, double *min, double *max)=0;
123};
124
125#endif // YARP_DEV_ICONTROLLIMITS_H
Interface for control devices.
virtual ~IControlLimitsRaw()
Destructor.
virtual yarp::dev::ReturnValue getVelLimitsRaw(int axis, double *min, double *max)=0
Get the software speed limits for a particular axis.
virtual yarp::dev::ReturnValue getPosLimitsRaw(int axis, double *min, double *max)=0
Get the software limits for a particular axis.
virtual yarp::dev::ReturnValue setVelLimitsRaw(int axis, double min, double max)=0
Set the software speed limits for a particular axis, the behavior of the control card when these limi...
virtual yarp::dev::ReturnValue setPosLimitsRaw(int axis, double min, double max)=0
Set the software limits for a particular axis, the behavior of the control card when these limits are...
Interface for control devices, commands to get/set position and velocity limits.
virtual ~IControlLimits()
Destructor.
virtual yarp::dev::ReturnValue setPosLimits(int axis, double min, double max)=0
Set the software limits for a particular axis, the behavior of the control card when these limits are...
virtual yarp::dev::ReturnValue getVelLimits(int axis, double *min, double *max)=0
Get the software speed limits for a particular axis.
virtual yarp::dev::ReturnValue getPosLimits(int axis, double *min, double *max)=0
Get the software limits for a particular axis.
virtual yarp::dev::ReturnValue setVelLimits(int axis, double min, double max)=0
Set the software speed limits for a particular axis, the behavior of the control card when these limi...
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_dev_API
Definition api.h:18