10#include <catch2/catch_amalgamated.hpp>
16TEST_CASE(
"dev::hapticDevice_nws_ros2_test",
"[yarp::dev]")
20 Network::setLocalMode(
true);
22 SECTION(
"Checking the nws alone")
29 pcfg.put(
"device",
"hapticDevice_nws_ros2");
30 pcfg.put(
"node_name",
"haptic_node");
31 pcfg.put(
"topic_name",
"hapticDevice_nws_ros2/haptic");
41 SECTION(
"Checking attach with invalid device")
49 pcfg.put(
"device",
"hapticDevice_nws_ros2");
50 pcfg.put(
"node_name",
"haptic_node");
51 pcfg.put(
"topic_name",
"hapticDevice_nws_ros2/haptic");
69 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::hapticDevice_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.