YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IRemoteCalibratorTest.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023-2023 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef IREMOTECALIBRATORTEST_H
7#define IREMOTECALIBRATORTEST_H
8
11#include <catch2/catch_amalgamated.hpp>
12
13using namespace yarp::dev;
14using namespace yarp::os;
15
16namespace yarp::dev::tests
17{
19 {
20 REQUIRE(icalib != nullptr);
21
22 bool b =false;
23 b = icalib->calibrateSingleJoint(0);
24 CHECK(b);
25
26 b = icalib->calibrateWholePart();
27 CHECK(b);
28
29 b = icalib->homingSingleJoint(0);
30 CHECK(b);
31
32 b = icalib->homingWholePart();
33 CHECK(b);
34
35 b = icalib->parkSingleJoint(0);
36 CHECK(b);
37
38 b = icalib->parkWholePart();
39 CHECK(b);
40
41 b = icalib->quitCalibrate();
42 CHECK(b);
43
44 b = icalib->quitPark();
45 CHECK(b);
46 }
47}
48
49#endif
IRemoteCalibrator interface is meant to remotize the access of the calibration device in order to all...
A mini-server for performing network communication in the background.
void exec_iRemoteCalibrator_test_1(IRemoteCalibrator *icalib)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.