Multi-UAV Planning and Task Allocation