6#ifndef YARP_DEV_RANGEFINDER2D_NWS_YARP_H
7#define YARP_DEV_RANGEFINDER2D_NWS_YARP_H
37#define DEFAULT_THREAD_PERIOD 0.02
61 bool close()
override;
84 double minAngle, maxAngle;
85 double minDistance, maxDistance;
contains the definition of a Vector type
This class is the parameters parser for class Rangefinder2D_nws_yarp.
rangefinder2D_nws_yarp: A Network grabber for 2D Rangefinder devices.
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.
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 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.