Teaching vehicles on rail to drive autonomously.