10#include <catch2/catch_amalgamated.hpp>
16TEST_CASE(
"dev::controlBoard_nws_ros2_test",
"[yarp::dev]")
21 Network::setLocalMode(
true);
23 SECTION(
"Checking the nws alone")
30 pcfg.put(
"device",
"controlBoard_nws_ros2");
31 pcfg.put(
"node_name",
"controlboard_node");
32 pcfg.put(
"topic_name",
"/controlBoard_nws_ros2/robot_part");
42 SECTION(
"Checking the nws attached to device")
51 pcfg.put(
"device",
"controlBoard_nws_ros2");
52 pcfg.put(
"node_name",
"controlboard_node");
53 pcfg.put(
"topic_name",
"/controlBoard_nws_ros2/robot_part");
60 pcfg_fake.put(
"device",
"fakeMotionControl");
78 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.
TEST_CASE("dev::controlBoard_nws_ros2_test", "[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.