YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IOdometry2DTest.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023-2023 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef IODOMETRY2DTEST_H
7#define IODOMETRY2DTEST_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(iodom != nullptr);
20
21 bool b;
22
24 b = iodom->getOdometry(odomdata); CHECK(b);
25 b = iodom->resetOdometry(); CHECK(b);
26 }
27}
28
29#endif
IOdometry2D interface.
Definition IOdometry2D.h:23
A mini-server for performing network communication in the background.
void exec_iOdometry2D_test_1(yarp::dev::Nav2D::IOdometry2D *iodom)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.