A Framework for Simulation and Testing of UAVs in Cooperative Scenarios