14#include <catch2/catch_amalgamated.hpp>
27 Network::setLocalMode(
true);
29 SECTION(
"Checking laserFromPointCloud device")
38 p_rgbd_nws.put(
"device",
"RGBDSensor_nws_yarp");
68 las_cfg.put(
"device",
"laserFromPointCloud");
70 rgbdprop.put(
"localImagePort",
"/rgbd_nwc/rgbImage:i");
71 rgbdprop.put(
"remoteImagePort",
"/rgbd_nws/rgbImage:o");
72 rgbdprop.put(
"localDepthPort",
"/rgbd_nwc/depthImage:i");
73 rgbdprop.put(
"remoteDepthPort",
"/rgbd_nws/depthImage:o");
74 rgbdprop.put(
"localRpcPort",
"/rgbd_nwc/rpc:o");
75 rgbdprop.put(
"remoteRpcPort",
"/rgbd_nws/rpc:i");
84 transfprop.put(
"config_name",
"ftc_local_only.xml");
85 las_cfg.put(
"testWithIndentityTransform",
true);
111 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.
TEST_CASE("dev::laserFromPointCloud", "[yarp::dev]")
void exec_iRangefinder2D_test_1(IRangefinder2D *irf, const ValuestoCheck &v=ValuestoCheck())
void wait_safe(const double seconds)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.
double test_horizontal_res