Formations organization in robotic swarm using the thermal motion equivalent method