pyrobosim.core.world.World.update_bounds

World.update_bounds(entity: Entity, remove: bool = False) None

Updates the X and Y bounds of the world.

Parameters:
  • entity – The entity that is being added or removed

  • remove – Specifies if the update is due to removal of an entity.