11#include <catch2/catch_amalgamated.hpp>
17TEST_CASE(
"dev::controlBoard_nws_yarp",
"[yarp::dev]")
21 Network::setLocalMode(
true);
23 SECTION(
"Checking controlBoard_nws_yarp device")
30 pcfg.put(
"device",
"controlBoard_nws_yarp");
31 pcfg.put(
"name",
"/controlboard");
42 SECTION(
"Test the controlBoard_nws_yarp device with fakeMotionControl device attached")
50 p_nws.put(
"device",
"controlBoard_nws_yarp");
51 p_nws.put(
"name",
"/controlboard");
52 p_fake.put(
"device",
"fakeMotionControl");
75 SECTION(
"Test the controlBoard_nws_yarp device with a non-attachable device")
83 p_nws.put(
"device",
"controlBoard_nws_yarp");
84 p_nws.put(
"name",
"/controlboard");
85 p_fake2.put(
"device",
"fakeSpeaker");
108 SECTION(
"Test the controlBoard_nws_yarp device with a device attached which does not implement motion control interfaces")
116 p_nws.put(
"device",
"controlBoard_nws_yarp");
117 p_nws.put(
"name",
"/controlboard");
118 p_fake.put(
"device",
"fakeMotionControlMicro");
141 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]")
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.