Nonlinear optimal control for aircraft ground manoeuvres