Multipurpose Longitudinal Distance-Based Driver for On-Road and Off-Road Vehicles