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
9
#include <
yarp/robottestingframework/api.h
>
10
#include <
yarp/sig/Vector.h
>
11
#include <
yarp/dev/PolyDriver.h
>
12
#include <string>
13
14
namespace
yarp::robottestingframework
{
15
21
class
YARP_robottestingframework_API
jointsPosMotion
{
22
public
:
23
//jointsPosMotion();
24
36
jointsPosMotion
(
yarp::dev::PolyDriver
*polydriver,
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
110
private
:
111
class
Private
;
112
Private
*
const
mPriv;
113
};
114
115
}
// namespace yarp::robottestingframework
116
117
#endif
// YARP_ROBOTTESTINGFRAMEWORK_JOINTSPOSMOVE_H
PolyDriver.h
Vector.h
contains the definition of a Vector type
yarp::dev::PolyDriver
A container for a device driver.
Definition
PolyDriver.h:23
yarp::robottestingframework::jointsPosMotion::Private
Definition
JointsPosMotion.cpp:21
yarp::robottestingframework::jointsPosMotion
The JointPosMotion class is used has been created to simplify and speed up development of tests that ...
Definition
JointsPosMotion.h:21
yarp::sig::VectorOf< double >
yarp::robottestingframework
Definition
JointsPosMotion.h:14
api.h
YARP_robottestingframework_API
#define YARP_robottestingframework_API
Definition
api.h:17
YARP
3.11.100+20250603.4+gitaa77f8b5c
src
libYARP_robottestingframework
src
yarp
robottestingframework
JointsPosMotion.h
Generated on Wed Jun 4 2025 02:40:12 for YARP by
1.9.8