pyrobosim.core.world.World.remove_object
- World.remove_object(obj: Object | str, show: bool = True) bool
Cleanly removes an object from the world.
- Parameters:
loc – Object instance or name to remove.
show – If True (default), causes the GUI to be updated. This is mostly for internal usage to speed up reloading.
- Returns:
True if the object was successfully removed, else False.