Function nav2_map_server::loadMapFromYaml

Function Documentation

LOAD_MAP_STATUS nav2_map_server::loadMapFromYaml(const std::string &yaml_file, nav_msgs::msg::OccupancyGrid &map)

Load the map YAML, image from map file and generate an OccupancyGrid.

Parameters:
  • yaml_file – Name of input YAML file

  • map – Output loaded map

Returns:

status of map loaded