6#ifndef YARP_ODOMETRY2D_NWS_YARP_H
7#define YARP_ODOMETRY2D_NWS_YARP_H
18#define DEFAULT_THREAD_PERIOD 0.02
88 bool close()
override;
113 std::string m_local_name =
"/odometry2D_nws_yarp";
114 std::string m_odometerStreamingPortName;
115 std::string m_odometryStreamingPortName;
116 std::string m_velocityStreamingPortName;
117 std::string m_rpcPortName;
118 std::string m_deviceName;
119 size_t m_stampCount{0};
#define DEFAULT_THREAD_PERIOD
Odometry2D_nws_yarp: A yarp nws to get the odometry and publish it on 3 yarp ports:
bool close() override
Close the DeviceDriver.
bool attach(yarp::dev::PolyDriver *driver) override
Attach to another object.
bool detach() override
Detach the object (you must have first called attach).
void run() override
Loop function.
bool threadInit() override
Initialization method.
bool open(yarp::os::Searchable ¶ms) override
Open the DeviceDriver.
void threadRelease() override
Release method.
Interface implemented by all device drivers.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
An interface for reading from a network connection.
An abstraction for a periodic thread.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
A port that is specialized as an RPC server.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.