13#include <catch2/catch_amalgamated.hpp>
25 Network::setLocalMode(
true);
27 SECTION(
"Checking odometry2D_nwc_yarp device")
37 plas_cfg.put(
"device",
"fakeOdometry2D");
43 pnws_cfg.put(
"device",
"odometry2D_nws_yarp");
62 pnwc_cfg.put(
"device",
"odometry2D_nwc_yarp");
63 pnwc_cfg.put(
"local",
"/local_odom");
76 INFO(
"odometry2D_nwc_yarp closed");
80 INFO(
"odometry2D_nws_yarp closed");
84 INFO(
"fakeOdometry2D closed");
86 INFO(
"Test complete");
89 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_params_test(yarp::dev::PolyDriver *pdrv)
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]")