18#include <catch2/catch_amalgamated.hpp>
25TEST_CASE(
"dev::MultipleAnalogSensors_nws_ros2_test",
"[yarp::dev]")
35 Network::setLocalMode(
true);
42 pWrapper.put(
"device",
"imu_nws_ros2");
43 pWrapper.put(
"node_name",
"imu_node");
44 pWrapper.put(
"topic_name",
"/imu_topic");
52 SECTION(
"Test the multiple analog sensors device on a single IMU (deferred attach)")
59 p.
put(
"device",
"fakeIMU");
60 p.
put(
"constantValue", 1);
70 pWrapper.put(
"device",
"imu_nws_ros2");
71 pWrapper.put(
"node_name",
"imu_node");
72 pWrapper.put(
"topic_name",
"/imu_topic");
89 Network::setLocalMode(
false);
Interface for an object that can wrap/attach to to another.
Device interface to one or multiple orientation sensors, such as IMUs with on board estimation algori...
A container for a device driver.
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.
void put(const std::string &key, const std::string &value)
Associate the given key with the given string.
TEST_CASE("dev::MultipleAnalogSensors_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.