12#include <catch2/catch_amalgamated.hpp>
19TEST_CASE(
"dev::Rangefinder2D_nws_ros2_test",
"[yarp::dev]")
24 Network::setLocalMode(
true);
26 SECTION(
"Checking the nws alone")
33 pcfg.put(
"device",
"rgbdSensor_nws_ros2");
34 pcfg.put(
"node_name",
"rgbd_node");
35 pcfg.put(
"depth_topic_name",
"/depth_topic");
36 pcfg.put(
"color_topic_name",
"/rgbd_topic");
37 pcfg.put(
"depth_frame_id",
"depthframe");
38 pcfg.put(
"color_frame_id",
"colorframe");
48 SECTION(
"Checking the nws attached to device")
57 pcfg.put(
"device",
"rgbdSensor_nws_ros2");
58 pcfg.put(
"node_name",
"rgbd_node");
59 pcfg.put(
"depth_topic_name",
"/depth_topic");
60 pcfg.put(
"color_topic_name",
"/rgbd_topic");
61 pcfg.put(
"depth_frame_id",
"depthframe");
62 pcfg.put(
"color_frame_id",
"colorframe");
69 pcfg_fake.put(
"device",
"fakeDepthCamera");
87 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.
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.
TEST_CASE("dev::Rangefinder2D_nws_ros2_test", "[yarp::dev]")