10#include <catch2/catch_amalgamated.hpp>
16TEST_CASE(
"dev::controlBoard_nws_yarp",
"[yarp::dev]")
20 Network::setLocalMode(
true);
22 SECTION(
"Checking controlBoard_nws_yarp device")
29 pcfg.put(
"device",
"controlBoard_nws_yarp");
30 pcfg.put(
"name",
"/controlboard");
40 SECTION(
"Test the controlBoard_nws_yarp device with fakeMotionControl device attached")
48 p_nws.put(
"device",
"controlBoard_nws_yarp");
49 p_nws.put(
"name",
"/controlboard");
50 p_fake.put(
"device",
"fakeMotionControl");
73 SECTION(
"Test the controlBoard_nws_yarp device with a non-attachable device")
81 p_nws.put(
"device",
"controlBoard_nws_yarp");
82 p_nws.put(
"name",
"/controlboard");
83 p_fake2.put(
"device",
"fakeSpeaker");
106 SECTION(
"Test the controlBoard_nws_yarp device with a device attached which does not implement motion control interfaces")
114 p_nws.put(
"device",
"controlBoard_nws_yarp");
115 p_nws.put(
"name",
"/controlboard");
116 p_fake.put(
"device",
"fakeMotionControlMicro");
139 Network::setLocalMode(
false);
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::controlBoard_nws_yarp", "[yarp::dev]")
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.