Trajectory Generation for Minimum Closed-Loop State Sensitivity