pyrobosim.core.yaml_utils.WorldYamlWriter.to_dict

WorldYamlWriter.to_dict(world: World) dict[str, Any]

Serializes a world to a dictionary.

Parameters:

world – The world model to serialize.

Returns:

The dictionary containing the world information.