Function nav2_map_server::loadMapFromFile

Function Documentation

void nav2_map_server::loadMapFromFile(const LoadParameters &load_parameters, nav_msgs::msg::OccupancyGrid &map)

Load the image from map file and generate an OccupancyGrid.

Parameters:
  • load_parameters – Parameters of loading map

  • map – Output loaded map

Throws:

std::exception