Pre-integration version of path_follow.py.