Homeokinetic approach to autonomous learning in mobile robots