Nonlinear model predictive control for path following problems | Synapse