pyrobosim.web.commands.close_location

pyrobosim.web.commands.close_location(world: World, robot: Robot | None, goal: str) None

Closes the robot’s current location, or a named location if no robot.

Parameters:
  • world – The world containing the robot and locations.

  • robot – The robot to command, or None to close a location by name.

  • goal – The location name to close when no robot is given.