6#ifndef YARP_ODOMETRY2D_NWS_YARP_H
7#define YARP_ODOMETRY2D_NWS_YARP_H
20#define DEFAULT_THREAD_PERIOD 0.02
48 bool close()
override;
63 std::unique_ptr<IOdometry2DRPCd> m_RPC;
75 std::string m_odometerStreamingPortName;
76 std::string m_odometryStreamingPortName;
77 std::string m_velocityStreamingPortName;
78 std::string m_rpcPortName;
79 std::string m_deviceName;
80 size_t m_stampCount{0};
This class is the parameters parser for class Odometry2D_nws_yarp.
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.
A mini-server for performing network communication in the background.
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.