Long Term Optimisation of a Mobile Robot with Proprioceptive Perception