Function nav2_map_server::loadMapFromYaml
Defined in File map_io.hpp
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