pyrobosim.web.commands.open_location

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

Opens 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 open a location by name.

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