In the first part of this demo, Nao walks around and captures images of the new environment. At the end of his walk it uses the acquired images to build a sparse 3D model of the explored environment.
After Nao learns the new environment, it is being taken away from its position and put at some unknown place. Being left at an unknown position, Nao looks around until it finds a view that suffiently overlaps the explored environment. Then it is able to calculate its new position.