pyrobosim.core.world.World.add_robot
- World.add_robot(robot: Robot, loc: Entity | str | None = None, pose: Pose | None = None, show: bool = True) None
Adds a robot to the world given either a world entity and/or pose.
- Parameters:
robot – Robot instance to add to the world.
loc – World entity instance or name to place the robot.
pose – Pose at which to add the robot. If not specified, will be sampled.
show – If True (default), causes the GUI to be updated. This is mostly for internal usage to speed up reloading.