Help the robot to get out of an imprisonment, switch between measurements and use gravitation to reach a door.