pyrobosim.core.yaml_utils.WorldYamlLoader.from_file
- WorldYamlLoader.from_file(filename: Path, world: World | None = None) World
Load a world from a YAML file.
- Parameters:
filename – Path to YAML file describing the world.
world – If specified, loads the YAML contents to this world. Otherwise, creates and returns a new world instance.
- Returns:
World model instance.