12#include <catch2/catch_amalgamated.hpp>
19TEST_CASE(
"dev::RGBDSensorClientTest",
"[yarp::dev]")
25 Network::setLocalMode(
true);
27 SECTION(
"Checking RGBDSensorClient device")
44 pnws_cfg.put(
"device",
"rgbdSensor_nws_yarp");
57 INFO(
"rgbdSensor_nws_yarp and fakeDepthCamera ready");
62 pnwc_cfg.put(
"device",
"RGBDSensorClient");
63 pnwc_cfg.put(
"localImagePort",
"/rgbd_nwc/rgbImage:i");
64 pnwc_cfg.put(
"remoteImagePort",
"/rgbd_nws/rgbImage:o");
66 pnwc_cfg.put(
"localDepthPort",
"/rgbd_nwc/depthImage:i");
67 pnwc_cfg.put(
"remoteDepthPort",
"/rgbd_nws/depthImage:o");
69 pnwc_cfg.put(
"localRpcPort",
"/rgbd_nwc/rpc:o");
70 pnwc_cfg.put(
"remoteRpcPort",
"/rgbd_nws/rpc:i");
86 INFO(
"RGBDSensorClient closed");
90 INFO(
"rgbdSensor_nws_yarp closed");
94 INFO(
"fakeDepthCamera closed");
96 INFO(
"Test complete");
99 Network::setLocalMode(
false);
TEST_CASE("dev::RGBDSensorClientTest", "[yarp::dev]")
A generic interface for cameras that have both color camera as well as depth camera sensor,...
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.
static void delaySystem(double seconds)
void exec_iRGBDSensor_test_1(IRGBDSensor *irgbd)
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.