25#include <catch2/catch_amalgamated.hpp>
41 p_nws.put(
"device",
"frameGrabber_nws_yarp");
42 p_fake.put(
"device",
"fakeFrameGrabber");
52 p_nwc.put(
"device",
"frameGrabber_nwc_yarp");
53 p_nwc.put(
"remote",
"/grabber");
54 p_nwc.put(
"local",
"/grabber/client");
57 p_nwc.put(
"no_stream",
true);
78 CHECK(img.width() == 0);
79 CHECK(img.height() == 0);
81 CHECK(img.width() > 0);
82 CHECK(img.height() > 0);
87 std::vector<yarp::dev::vertex_t> vertices;
91 CHECK(crop.width() == 0);
92 CHECK(crop.height() == 0);
94 CHECK(crop.width() > 0);
95 CHECK(crop.height() > 0);
110TEST_CASE(
"dev::frameGrabber_nwc_yarpTest",
"[yarp::dev]")
117 Network::setLocalMode(
true);
119 SECTION(
"Test the frameGrabber_nwc_yarp device with a frameGrabber_nws_yarp device (RPC mode)")
125 SECTION(
"Test the frameGrabber_nwc_yarp device with a frameGrabber_nws_yarp device (streaming mode)")
131 Network::setLocalMode(
false);
contains the definition of a Vector type
Control interface for frame grabber devices that conform to the 1394-based Digital Camera Specificati...
Control interface for frame grabber devices.
An interface for retrieving intrinsic parameter from a rgb camera.
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)
TEST_CASE("dev::frameGrabber_nwc_yarpTest", "[yarp::dev]")
void do_nws_nwc_test(bool use_stream)
void exec_IFrameGrabberControlsDC1394_test_1(IFrameGrabberControlsDC1394 *ictl)
void exec_IFrameGrabberControls_test_1(IFrameGrabberControls *ictl)
void exec_IRgbVisualParams_test_1(IRgbVisualParams *irgb)
void exec_IFrameGrabberImage_test_1(IFrameGrabberImage *iframe)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.