6#ifndef IRANGEFINDER2DTEST_H
7#define IRANGEFINDER2DTEST_H
10#include <catch2/catch_amalgamated.hpp>
25 for (
size_t counter = 0; counter<10; counter++)
27 b =
irf->getDeviceStatus(status);
37 CHECK(
info==std::string(
"Fake Laser device for test/debugging"));
45 b =
irf->getHorizontalResolution(
hstep);
50 b =
irf->getDistanceRange(min,max);
55 std::vector<yarp::sig::LaserMeasurementData>
las;
57 b =
irf->getLaserMeasurement(
las, ×tamp);
59 CHECK(timestamp != 0);
67 las[0].get_polar(r, t);
74 las[0].get_cartesian(x, y);
A generic interface for planar laser range finders.
A mini-server for performing network communication in the background.
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.