6 #ifndef YARP_DEV_RANGEFINDER2D_NWS_YARP_H
7 #define YARP_DEV_RANGEFINDER2D_NWS_YARP_H
36 #define DEFAULT_THREAD_PERIOD 0.02
75 bool close()
override;
88 std::string streamingPortName;
89 std::string rpcPortName;
102 double minAngle, maxAngle;
103 double minDistance, maxDistance;
contains the definition of a Vector type
rangefinder2D_nws_yarp: A Network grabber for 2D Rangefinder devices. This device will stream data on...
void run() override
Loop function.
void threadRelease() override
Release method.
~Rangefinder2D_nws_yarp()
bool open(yarp::os::Searchable ¶ms) override
Open the DeviceDriver.
Rangefinder2D_nws_yarp()
It reads the data from a rangefinder sensor and sends them on one port.
bool detach() override
Detach the object (you must have first called attach).
void attach(yarp::dev::IRangefinder2D *s)
bool threadInit() override
Initialization method.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool close() override
Close the DeviceDriver.
Interface implemented by all device drivers.
A generic interface for planar laser range finders.
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 mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.