pyrobosim.core.world.World.update_object
- World.update_object(obj: Object | str, loc: Location | ObjectSpawn | str | None = None, pose: Pose | None = None) bool
Updates an existing object in the world.
- Parameters:
obj – Object instance or name to update.
loc – Location or object spawn instance or name. If none, uses the previous location.
pose – Pose of the object. If none is specified, it will be sampled.
- Returns:
True if the update was successful, else False.