19 #ifndef SLAM_TOOLBOX_MAP_SAVER_H_ 20 #define SLAM_TOOLBOX_MAP_SAVER_H_ 37 slam_toolbox_msgs::SaveMap::Response& resp);
38 void mapCallback(
const nav_msgs::OccupancyGrid& msg);
50 #endif //SLAM_TOOLBOX_MAP_SAVER_H_ std::string service_name_
MapSaver(ros::NodeHandle &nh, const std::string &service_name)
void mapCallback(const nav_msgs::OccupancyGrid &msg)
ros::ServiceServer server_
bool saveMapCallback(slam_toolbox_msgs::SaveMap::Request &req, slam_toolbox_msgs::SaveMap::Response &resp)