|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
19 #ifndef YARP_DEV_RANGEFINDER2DWRAPPER_RANGEFINDER2DWRAPPER_H
20 #define YARP_DEV_RANGEFINDER2DWRAPPER_RANGEFINDER2DWRAPPER_H
56 #define DEFAULT_THREAD_PERIOD 0.02 //s
74 bool close()
override;
77 void setId(
const std::string &
id);
96 std::string streamingPortName;
97 std::string rpcPortName;
104 std::string sensorId;
105 double minAngle, maxAngle;
106 double minDistance, maxDistance;
111 bool initialize_ROS();
117 std::string frame_id;
118 std::string rosNodeName;
119 std::string rosTopicName;
125 #endif // YARP_DEV_RANGEFINDER2DWRAPPER_RANGEFINDER2DWRAPPER_H
A simple collection of objects that can be described and transmitted in a portable way.
A base class for nested structures that can be searched.
contains the definition of a Vector type
bool detachAll() override
Detach the object (you must have first called attach).
Interface implemented by all device drivers.
yarp::os::Bottle getOptions()
A generic interface for planar laser range finders.
bool open(yarp::os::Searchable ¶ms) override
Open the DeviceDriver.
void attach(yarp::dev::IRangefinder2D *s)
A mini-server for network communication.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
void setId(const std::string &id)
std::uint32_t NetUint32
Definition of the NetUint32 type.
bool attachAll(const yarp::dev::PolyDriverList &p) override
Specify which sensor this thread has to read from.
A container for a device driver.
Rangefinder2DWrapper()
It reads the data from a rangefinder sensor and sends them on one port.
An abstraction for a periodic thread.
An interface for reading from a network connection.
bool threadInit() override
Initialization method.
An abstraction for a time stamp and/or sequence number.
bool close() override
Close the DeviceDriver.
Interface for an object that can wrap/attach to to another.
void threadRelease() override
Release method.
Rangefinder2DWrapper: Documentation to be added
void run() override
Loop function.