pyrobosim.core.yaml_utils.WorldYamlWriter.to_dict
- WorldYamlWriter.to_dict(world)
Serializes a world to a dictionary.
- Parameters:
world (
pyrobosim.core.world.World) – The world model to serialize.- Returns:
The dictionary containing the world information.
- Return type:
dict[str, Any]