Longitudinal Control for Autonomous Vehicles