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
9
#include <
yarp/dev/IOdometry2D.h
>
10
#include <catch2/catch_amalgamated.hpp>
11
12
using namespace
yarp::dev
;
13
using namespace
yarp::os
;
14
15
namespace
yarp::dev::tests
16
{
17
inline
void
exec_iOdometry2D_test_1
(
yarp::dev::Nav2D::IOdometry2D
*
iodom
)
18
{
19
REQUIRE
(
iodom
!=
nullptr
);
20
21
bool
b;
22
23
yarp::dev::OdometryData
odomdata
;
24
b =
iodom
->getOdometry(
odomdata
);
CHECK
(b);
25
b =
iodom
->resetOdometry();
CHECK
(b);
26
}
27
}
28
29
#endif
IOdometry2D.h
yarp::dev::Nav2D::IOdometry2D
IOdometry2D interface.
Definition
IOdometry2D.h:23
yarp::dev::OdometryData
Definition
OdometryData.h:23
yarp::os::BufferedPort
A mini-server for performing network communication in the background.
Definition
BufferedPort.h:60
yarp::dev::tests
Definition
IAxisInfoTest.h:16
yarp::dev::tests::exec_iOdometry2D_test_1
void exec_iOdometry2D_test_1(yarp::dev::Nav2D::IOdometry2D *iodom)
Definition
IOdometry2DTest.h:17
yarp::dev
For streams capable of holding different kinds of content, check what they actually have.
Definition
BatteryData.cpp:13
yarp::os
An interface to the operating system, including Port based communication.
Definition
AbstractCarrier.h:13
YARP
3.11.100+20250603.4+gitaa77f8b5c
src
libYARP_dev
src
yarp
dev
tests
IOdometry2DTest.h
Generated on Wed Jun 4 2025 02:40:10 for YARP by
1.9.8