pyrobosim.navigation.occupancy_grid.OccupancyGrid.save_to_file
- OccupancyGrid.save_to_file(folder: Path, filename: str = 'world_map') → None
Save occupancy grid to PGM and YAML files compatible with ROS tools.
- Parameters:
folder – Path to output folder.
filename – Name of PGM/YAML file, defaults to “world_map”.