6 #ifndef YARP_DEV_RANGEFINDER2DWRAPPER_RANGEFINDER2DWRAPPER_H
7 #define YARP_DEV_RANGEFINDER2DWRAPPER_RANGEFINDER2DWRAPPER_H
43 #define DEFAULT_THREAD_PERIOD 0.02
61 bool close()
override;
64 void setId(
const std::string &
id);
83 std::string streamingPortName;
84 std::string rpcPortName;
92 double minAngle, maxAngle;
93 double minDistance, maxDistance;
98 bool initialize_ROS();
104 std::string frame_id;
105 std::string rosNodeName;
106 std::string rosTopicName;
contains the definition of a Vector type
Rangefinder2DWrapper deprecated: Documentation to be added
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.