YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IJoypadControllerTest.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 IJOYPADCONTROLLERTEST_H
7#define IJOYPADCONTROLLERTEST_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(iJoy != nullptr);
20
21 bool b=false;
22 unsigned int count=0;
23
24 b = iJoy->getAxisCount(count); CHECK(b); CHECK(count==4);
25 }
26}
27
28#endif
A mini-server for performing network communication in the background.
void exec_iJoypadController_test_1(yarp::dev::IJoypadController *iJoy)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.