Statistics for Trajectory planing for cooperating unmanned aerial vehicles in the IoT