Persistent self-supervised learning: From stereo to monocular vision for obstacle avoidance