6#ifndef YARP_DEV_RANGEFINDER2D_NWS_ROS_H
7#define YARP_DEV_RANGEFINDER2D_NWS_ROS_H
37#include <yarp/rosmsg/sensor_msgs/LaserScan.h>
38#include <yarp/rosmsg/impl/yarpRosHelper.h>
41#define DEFAULT_THREAD_PERIOD 0.02
83 bool close()
override;
97 std::string topicName;
111 double minAngle, maxAngle;
112 double minDistance, maxDistance;
118 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.
A mini-server for performing network communication in the background.
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.