pyrobosim.core.world.World.lock_location

World.lock_location(location)

Locks a storage location or hallway.

Parameters:

location (pyrobosim.core.locations.Location, pyrobosim.core.hallway.Hallway, or str) – Location or Hallway object to lock, or its name.

Returns:

An object describing the execution result.

Return type:

pyrobosim.planning.actions.ExecutionResult