A Dynamical Systems Approach for a Learnable Autonomous Robot