12#include <catch2/catch_amalgamated.hpp>
24 Network::setLocalMode(
true);
26 SECTION(
"Checking odometry2D_nwc_yarp device")
36 plas_cfg.put(
"device",
"fakeOdometry2D");
41 pnws_cfg.put(
"device",
"odometry2D_nws_yarp");
59 pnwc_cfg.put(
"device",
"odometry2D_nwc_yarp");
60 pnwc_cfg.put(
"local",
"/local_odom");
72 INFO(
"odometry2D_nwc_yarp closed");
76 INFO(
"odometry2D_nws_yarp closed");
80 INFO(
"fakeOdometry2D closed");
82 INFO(
"Test complete");
85 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.
void exec_iOdometry2D_test_1(yarp::dev::Nav2D::IOdometry2D *iodom)
For streams capable of holding different kinds of content, check what they actually have.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.
TEST_CASE("dev::odometry2D_nwc_yarp", "[yarp::dev]")