Path Planning and Collision Risk Management Strategy for Multi-UAV Systems in 3D Environments