pyrobosim.core.world.World.get_locations

World.get_locations(category_list=None)

Gets all locations, optionally filtered by category.

Parameters:

category_list (list[str]) – Optional list of categories to filter by.

Returns:

List of locations that match the input category list, if specified.

Return type:

list[pyrobosim.core.locations.Location]