How Artificial Intelligence Contributes to Robotics