Reconfigurable Path Planning for an Autonomous Unmanned Aerial Vehicle