19 #ifndef YARP_DEV_MAP2DSERVER_H
20 #define YARP_DEV_MAP2DSERVER_H
55 #define DEFAULT_THREAD_PERIOD 20 //ms
79 std::map<std::string, yarp::dev::Nav2D::MapGrid2D> m_maps_storage;
80 std::map<std::string, yarp::dev::Nav2D::Map2DLocation> m_locations_storage;
81 std::map<std::string, yarp::dev::Nav2D::Map2DPath> m_paths_storage;
82 std::map<std::string, yarp::dev::Nav2D::Map2DArea> m_areas_storage;
93 bool close()
override;
97 bool priv_load_locations_and_areas_v1(std::ifstream& file);
98 bool priv_load_locations_and_areas_v2(std::ifstream& file);
103 std::string m_rpcPortName;
105 bool m_enable_publish_ros_map;
106 bool m_enable_subscribe_ros_map;
108 #define ROSNODENAME "/map2DServerNode"
109 #define ROSTOPICNAME_MAP "/map"
110 #define ROSTOPICNAME_MAPMETADATA "/map_metadata"
124 bool updateVizMarkers();
127 #endif // YARP_DEV_MAP2DSERVER_H