16#include <catch2/catch_amalgamated.hpp>
24TEST_CASE(
"dev::joypadControl_nws_yarp",
"[yarp::dev]")
29 Network::setLocalMode(
true);
41 p_nws.put(
"device",
"JoypadControl_nws_yarp");
42 p_nws.put(
"name",
"/joy_nws_yarp");
50 SECTION(
"Test the nws attached to the fake device")
57 p_nws.put(
"device",
"JoypadControl_nws_yarp");
58 p_nws.put(
"profile",
true);
59 p_nws.put(
"name",
"/joy_nws_yarp");
62 p_fake.put(
"device",
"fakeJoypad");
83 Network::setLocalMode(
false);
contains the definition of a Vector type
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
A mini-server for performing network communication in the background.
void close() override
Stop port activity.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A class for storing options and configuration information.
static void delaySystem(double seconds)
TEST_CASE("dev::joypadControl_nws_yarp", "[yarp::dev]")
void exec_params_test(yarp::dev::PolyDriver *pdrv)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.