pyrobosim.core.world.World.close_location

World.close_location(location: Entity | str | None, ignore_robots: list[Robot] = []) ExecutionResult

Close a storage location or hallway.

Parameters:
  • location – Location or Hallway object to close, or its name.

  • ignore_robots – List of robots to ignore, for example the robot closing the hallway.

Returns:

An object describing the execution result.