YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IJointFaultTest.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 IJOINTFAULTTEST_H
7#define IJOINTFAULTTEST_H
8
10#include <catch2/catch_amalgamated.hpp>
11
12using namespace yarp::dev;
13using namespace yarp::os;
14
15namespace yarp::dev::tests
16{
18 {
19 REQUIRE(ifault != nullptr);
20
21 bool b =false;
22 int fault;
23 std::string message;
24 b = ifault->getLastJointFault(0,fault,message);
25 CHECK(b);
26 }
27}
28
29#endif
Interface for getting info about the fault which may occur on a robot.
Definition IJointFault.h:23
A mini-server for performing network communication in the background.
void exec_iJointFault_test_1(IJointFault *ifault)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.