pyrobosim.web.commands.resolve_robot

pyrobosim.web.commands.resolve_robot(world: World, robot_name: str | None) Robot | None

Resolves a robot name to a robot in the world.

Parameters:
  • world – The world to search for the robot.

  • robot_name – The name of the robot. "world" or None mean no robot.

Returns:

The matching robot, or None if the name does not refer to one.