19 #ifndef YARP_DEV_RANGEFINDER2DWRAPPER_RANGEFINDER2DWRAPPER_H
20 #define YARP_DEV_RANGEFINDER2DWRAPPER_RANGEFINDER2DWRAPPER_H
56 #define DEFAULT_THREAD_PERIOD 0.02
69 bool close()
override;
72 void setId(
const std::string &
id);
91 std::string streamingPortName;
92 std::string rpcPortName;
100 double minAngle, maxAngle;
101 double minDistance, maxDistance;
106 bool initialize_ROS();
112 std::string frame_id;
113 std::string rosNodeName;
114 std::string rosTopicName;
contains the definition of a Vector type
bool detachAll() override
Detach the object (you must have first called attach).
bool close() override
Close the DeviceDriver.
void setId(const std::string &id)
bool attachAll(const yarp::dev::PolyDriverList &p) override
Specify which sensor this thread has to read from.
bool open(yarp::os::Searchable ¶ms) override
Open the DeviceDriver.
bool threadInit() override
Initialization method.
void attach(yarp::dev::IRangefinder2D *s)
void threadRelease() override
Release method.
yarp::os::Bottle getOptions()
Rangefinder2DWrapper()
It reads the data from a rangefinder sensor and sends them on one port.
void run() override
Loop function.
Interface implemented by all device drivers.
Interface for an object that can wrap/attach to to another.
A generic interface for planar laser range finders.
A container for a device driver.
A simple collection of objects that can be described and transmitted in a portable way.
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.
std::uint32_t NetUint32
Definition of the NetUint32 type.