54 nav2_msgs::srv::SaveMap_Request map_save;
55 std_msgs::msg::String map_name;
71 auto request = std::make_shared<nav2_msgs::srv::SaveMap::Request>();
72 request->map_topic =
"map";
73 request->map_url =
"/tmp/saved_map";
74 request->image_format =
"png";
75 request->occupied_thresh = 0.65;
76 request->free_thresh = 0.25;
77 request->map_mode =
"trinary";