YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
JointsPosMotion.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_ROBOTTESTINGFRAMEWORK_JOINTSPOSMOVE_H
7#define YARP_ROBOTTESTINGFRAMEWORK_JOINTSPOSMOVE_H
8
10#include <yarp/sig/Vector.h>
11#include <yarp/dev/PolyDriver.h>
12#include <string>
13
15
22public:
23 //jointsPosMotion();
24
37 yarp::sig::Vector &jlist);
38
39 virtual ~jointsPosMotion();
40
46 void setTolerance(double tolerance);
47
53 void setTimeout(double timeout);
54
61 void setSpeed(yarp::sig::Vector &speedlist);
62
71 bool setAndCheckPosControlMode();
72
73
84 bool goToSingle(int j,
85 double pos,
86 double *reached_pos = nullptr);
87
98 bool goTo(yarp::sig::Vector positions,
99 yarp::sig::Vector *reached_pos = nullptr);
100
108 bool checkJointLimitsReached(int j);
109
110private:
111 class Private;
112 Private * const mPriv;
113};
114
115} // namespace yarp::robottestingframework
116
117#endif // YARP_ROBOTTESTINGFRAMEWORK_JOINTSPOSMOVE_H
contains the definition of a Vector type
A container for a device driver.
Definition PolyDriver.h:23
The JointPosMotion class is used has been created to simplify and speed up development of tests that ...
#define YARP_robottestingframework_API
Definition api.h:17