Self-Supervised Near-to-Far Learning for Terrain-Adaptive Off-Road Autonomous Driving