13#include <catch2/catch_amalgamated.hpp>
20TEST_CASE(
"dev::Rangefinder2D_nws_yarpTest",
"[yarp::dev]")
25 Network::setLocalMode(
true);
27 SECTION(
"Checking Rangefinder2D_nws_yarp device alone")
35 nws_cfg.put(
"device",
"rangefinder2D_nws_yarp");
46 SECTION(
"Checking Rangefinder2D_nws_yarp device attached to fakeLidar")
54 pnws_cfg.put(
"device",
"rangefinder2D_nws_yarp");
61 pdev_cfg.put(
"test",
"use_constant");
63 cm_cfg.put(
"const_distance", 0.5);
81 Network::setLocalMode(
false);
A generic interface for planar laser range finders.
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)
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::Rangefinder2D_nws_yarpTest", "[yarp::dev]")