12#include <catch2/catch_amalgamated.hpp>
19TEST_CASE(
"dev::rangefinder2D_nwc_yarp",
"[yarp::dev]")
25 Network::setLocalMode(
true);
27 SECTION(
"Checking rangefinder2D_nwc_yarp device")
38 plas_cfg.put(
"test",
"use_constant");
40 cm_cfg.put(
"const_distance", 0.5);
45 pnws_cfg.put(
"device",
"rangefinder2D_nws_yarp");
63 pnwc_cfg.put(
"device",
"rangefinder2D_nwc_yarp");
64 pnwc_cfg.put(
"local",
"/local_laser");
76 INFO(
"rangefinder2D_nwc_yarp closed");
80 INFO(
"rangefinder2D_nws_yarp closed");
84 INFO(
"fakeLaser closed");
86 INFO(
"Test complete");
89 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_iRangefinder2D_test_1(IRangefinder2D *irf)
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_nwc_yarp", "[yarp::dev]")