Active Learning for Sensorimotor Coordination of Autonomous Robots