Collaborative perception and learning between robots and the cloud