Research Article

Online Path Generation and Navigation for Swarms of UAVs

Algorithm 2

Collision avoidance mechanism.
(1)redirect the UAV into another direction
(2)if not successful then
(3) activate the hover-in-place mode until the UAV route is cleared
(4)end if
(5)if the UAV hovers for too long or if it takes too long to find a suitable collision-free route then
(6) temporarily backtrack the UAV to explore some alternate collision-free routes
(7)end if