Neural networks in robotics: Rationale and case studies