Extremum-Seeking Guidance and Conic-Sector-Based Control of Aerospace Systems