YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IRGBDSensorTest.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef IRGBDSENSORTEST_H
7#define IRGBDSENSORTEST_H
8
10#include <catch2/catch_amalgamated.hpp>
11
12using namespace yarp::dev;
13using namespace yarp::os;
14
15namespace yarp::dev::tests
16{
18 {
19 REQUIRE(irgbd != nullptr);
20
21 int w=0;
22 int h=0;
23 w = irgbd->getDepthWidth();
24 h = irgbd->getDepthHeight();
25 CHECK(w > 0);
26 CHECK(h > 0);
27 }
28}
29
30#endif
A generic interface for cameras that have both color camera as well as depth camera sensor,...
Definition IRGBDSensor.h:39
A mini-server for performing network communication in the background.
void exec_iRGBDSensor_test_1(IRGBDSensor *irgbd)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.