pyrobosim.core.world.World.update_location
- World.update_location(loc, pose, room=None)
Updates an existing location in the world.
- Parameters:
loc (
pyrobosim.core.locations.Location
/str) – Location instance or name to update.pose (
pyrobosim.utils.pose.Pose
) – Pose of the location.room (
pyrobosim.core.room.Room
/str, optional) – Room instance or name. If none, uses the previous room.
- Returns:
True if the update was successful, else False.
- Return type:
bool