6 #ifndef YARP_DEV_RANGEFINDER2D_NWS_ROS_H
7 #define YARP_DEV_RANGEFINDER2D_NWS_ROS_H
43 #define DEFAULT_THREAD_PERIOD 0.02
86 bool close()
override;
100 std::string topicName;
115 double minAngle, maxAngle;
116 double minDistance, maxDistance;
123 bool initialize_ROS();
contains the definition of a Vector type
rangefinder2D_nws_ros: A Network grabber for 2D Rangefinder devices. This device will publish data on...
bool close() override
Close the DeviceDriver.
Rangefinder2D_nws_ros()
It reads the data from a rangefinder sensor and sends them on one port.
void threadRelease() override
Release method.
bool detach() override
Detach the object (you must have first called attach).
bool open(yarp::os::Searchable ¶ms) override
Open the DeviceDriver.
void attach(yarp::dev::IRangefinder2D *s)
bool threadInit() override
Initialization method.
void run() override
Loop function.
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 abstraction for a periodic thread.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.
std::uint32_t NetUint32
Definition of the NetUint32 type.