6#ifndef YARP_FAKEODOMETRY2D_H
7#define YARP_FAKEODOMETRY2D_H
41 virtual void run()
override;
45 bool close()
override;
54 std::mutex m_odometry_mutex;
constexpr double default_period
contains the definition of a Vector type
This class is the parameters parser for class FakeOdometry2D.
fakeOdometry2D: A device for generating a fake odometry. This device will generate the odometry and t...
virtual void threadRelease() override
Release method.
virtual void run() override
Loop function.
yarp::dev::ReturnValue resetOdometry() override
Resets the odometry of the robot to zero.
bool close() override
Close the DeviceDriver.
virtual bool threadInit() override
Initialization method.
yarp::dev::ReturnValue getOdometry(yarp::dev::OdometryData &odom, double *timestamp=nullptr) override
Gets the odometry of the robot, including its velocity expressed in the world and in the local refere...
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
Interface implemented by all device drivers.
An abstraction for a periodic thread.
A base class for nested structures that can be searched.