Designing Autonomous Mobile Robots: Inside the Mind of an Intelligent Machine