Autonomous exploration of complex environments using active SLAM