Research Article
Behavior-Based Formation Control of Swarm Robots
Algorithm 1
The main steps of the target searching algorithm.
(1) Initialize , , | set , which represents the priority and when , | the priority is highest. | (2) repeat (for each robot in the formation) | (3) Search the target position nearest to and | denote the distance as . If there are several with the | same value, the target position will be chosen randomly. | (4) Set , . Assume that is | the distance between and . Then is | the target position of with the priority of PRI. | (5) Set . | (6) until , |
|