YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IOdometry2D.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 YARP_DEV_IODOMETRY2D_H
7#define YARP_DEV_IODOMETRY2D_H
8
9#include <yarp/dev/api.h>
12
13namespace yarp::dev::Nav2D {
14class IOdometry2D;
15} // namespace yarp
16
23{
24public:
28 virtual ~IOdometry2D();
29
35 virtual yarp::dev::ReturnValue getOdometry(yarp::dev::OdometryData& odom, double* timestamp = nullptr) = 0;
36
42};
43
44#endif // YARP_DEV_IODOMETRY2D_H
IOdometry2D interface.
Definition IOdometry2D.h:23
virtual yarp::dev::ReturnValue getOdometry(yarp::dev::OdometryData &odom, double *timestamp=nullptr)=0
Gets the odometry of the robot, including its velocity expressed in the world and in the local refere...
virtual yarp::dev::ReturnValue resetOdometry()=0
Resets the odometry of the robot to zero.
virtual ~IOdometry2D()
Destructor.
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_dev_API
Definition api.h:18