21#include <catch2/catch_amalgamated.hpp>
29TEST_CASE(
"dev::frameGrabber_nws_ros2_test",
"[yarp::dev]")
34 Network::setLocalMode(
true);
36 SECTION(
"Checking the nws alone")
43 pcfg.put(
"device",
"frameGrabber_nws_ros2");
44 pcfg.put(
"node_name",
"frameGrabber_node");
45 pcfg.put(
"topic_name",
"/controlBoard_nws_ros2/robot_part");
46 pcfg.put(
"frame_id",
"test_frame");
56 SECTION(
"Checking the nws attached to device")
63 p_nws.put(
"device",
"frameGrabber_nws_ros2");
64 p_nws.put(
"node_name",
"frameGrabber_node");
65 p_nws.put(
"topic_name",
"/controlBoard_nws_ros2/robot_part");
66 p_nws.put(
"frame_id",
"test_frame");
68 p_fake.put(
"device",
"fakeFrameGrabber");
85 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::frameGrabber_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.