pyrobosim.core.world.World.add_robot

World.add_robot(robot, loc=None, pose=None)

Adds a robot to the world given either a world entity and/or pose.

Parameters:
  • robot (pyrobosim.core.robot.Robot) – Robot instance to add to the world.

  • loc (Entity, optional) – World entity instance or name to place the robot.

  • pose (pyrobosim.utils.pose.Pose) – Pose at which to add the robot. If not specified, will be sampled.