Function nav2_map_server::saveMapToFile

Function Documentation

bool nav2_map_server::saveMapToFile(const nav_msgs::msg::OccupancyGrid &map, const SaveParameters &save_parameters)

Write OccupancyGrid map to file.

Parameters:
  • map – OccupancyGrid map data

  • save_parameters – Map saving parameters.

Returns:

true or false