Research Article

Maintaining Wireless Connectivity Constraints for Robot Swarms in the Presence of Obstacles

Algorithm 1

Algorithm for generating a feasible motion direction for Robot 𝑖 , using time steps Ξ” 𝑑 .
Let 𝑑 = 0 .
while   π‘ž 𝑖 β‰  π‘ž 𝑓 𝑖 do
 for   𝑗 such that there exists 𝑒 𝑖 𝑗 ∈ 𝐺 βˆ— do
  Determine π‘ž 𝑗 and 𝑒 𝑗
  Compute πœ• πœ™ l o s 𝑖 𝑗 / πœ• π‘ž 𝑖 and πœ• πœ™ r a n g e 𝑖 𝑗 / πœ• π‘ž 𝑖
 end  for
 Compute πœ• πœ™ 𝑖 g o a l / πœ• π‘ž 𝑖
 Compute 𝑒 𝛼 via numerical optimization
 if Feasible then
  Move. 𝑑 = 𝑑 + Ξ” 𝑑
 else
  Infeasible. Drop a constraint or terminate.
 end  if
 end  while