Trajectory control of an aircraft using approximate output tracking