6#ifndef YARP_FAKEODOMETRY_H
7#define YARP_FAKEODOMETRY_H
66 virtual void run()
override;
70 bool close()
override;
79 std::mutex m_odometry_mutex;
constexpr double default_period
contains the definition of a Vector type
FakeOdometry: A device for generating a fake odometry. This device will generate the odometry and the...
virtual void threadRelease() override
Release method.
virtual void run() override
Loop function.
virtual bool threadInit() override
Initialization method.
bool close() override
Close the DeviceDriver.
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool resetOdometry() override
Resets the odometry of the robot to zero.
bool 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...
Interface implemented by all device drivers.
An abstraction for a periodic thread.
A base class for nested structures that can be searched.