NASA's newest rover will have an autopilot called Terrain-Relative Navigation.





Source: A Neil Armstrong for Mars: Landing the Mars 2020 Rover