Decentralized Control of Swarms with Collision Avoidance Implications