pyrobosim.core.yaml_utils.WorldYamlLoader.from_yaml

WorldYamlLoader.from_yaml(world_dict, world_dir=None)

Load a world from a YAML description.

Parameters:
  • world_dict (dict[str, Any]) – Dictionary containing all the world information

  • world_dir (str, optional) – Root directory for basing some tokens, uses the current directory if not specified.

Returns:

World model instance.

Return type:

pyrobosim.core.world.World