A control theoretic perspective on learning in robotics