D3: A Dynamic Deadline-Driven Approach for Building Autonomous Vehicles