Trajectory Optimization using Model Predictive Control (MPC) techniques.
There are basically two types of vehicle models:
Dynamic models aim to embody the actual vehicle dynamics as closely as possible. They might encompass tire forces, longitudinal and lateral forces, inertia, ...
Following trajectories (Source: Udacity self driving car ND)
Summary of the PID controller.