Simulation Evaluations of an Adaptive Optimal Multiple Obstacle Avoidance Algorithm for Autonomous UAVs