12#include <catch2/catch_amalgamated.hpp>
19TEST_CASE(
"dev::Rangefinder2DTransformerTest",
"[yarp::dev]")
24 Network::setLocalMode(
true);
26 SECTION(
"Checking rangefinder2DTransformer device")
36 plas_cfg.put(
"test",
"use_constant");
38 cm_cfg.put(
"const_distance", 0.5);
43 ptrf_cfg.put(
"device",
"rangefinder2DTransformer");
61 INFO(
"rangefinder2DTransformer closed");
65 INFO(
"fakeLaser closed");
67 INFO(
"Test complete");
70 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.