6#ifndef YARP_DEV_MAP2D_NWS_ROS_H
7#define YARP_DEV_MAP2D_NWS_ROS_H
39#include <yarp/rosmsg/visualization_msgs/MarkerArray.h>
40#include <yarp/rosmsg/nav_msgs/MapMetaData.h>
41#include <yarp/rosmsg/nav_msgs/OccupancyGrid.h>
70 bool close()
override;
80 std::string m_rpcPortName;
82 bool m_enable_publish_map;
83 bool m_enable_subscribe_map;
85 #define ROSNODENAME "/map2DServerNode"
86 #define ROSTOPICNAME_MAP "/map"
87 #define ROSTOPICNAME_MAPMETADATA "/map_metadata"
98 bool updateVizMarkers(std::string map_name =
"ros_map");
99 bool subscribeMapFromRos(std::string map_name =
"ros_map");
100 bool publishMapToRos(std::string map_name =
"ros_map");
contains the definition of a Map2DArea type
contains the definition of a Map2DLocation type
contains the definition of a Map2DPath type
contains the definition of a map type
contains the definition of a Vector type
map2D_nws_ros: A device capable of read/save collections of maps from disk, and make them accessible ...
bool close() override
Close the DeviceDriver.
bool attach(yarp::dev::PolyDriver *driver) override
Attach to another object.
bool detach() override
Detach the object (you must have first called attach).
bool open(yarp::os::Searchable ¶ms) override
Open the DeviceDriver.
Map2D_nws_ros()
Map2D_nws_ros.
Interface implemented by all device drivers.
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 interface for reading from a network connection.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
A port that is specialized as an RPC server.
A base class for nested structures that can be searched.