After going through many articles I started working on the algorithm itself. I thought of all the steps the swarm agents have to take and even came up with a flow chart to make it easier to understand. Then I showed it to my supervisor to get his opinion. He pointed out what went wrong in my approach. Before pointing out my mistake, I will show you my approach and the flow chart I came up with. (Try to figure out what is wrong here. I'll mention it at the end).
It looks good right?.... right? (no?. 😐 )
Did you spot the issue? (If so you are better than me)
The problem is ....... the "LEADER". There should not be a leader in a swarm. I mean come on. How could I miss that (Somehow I did. duh.). The whole point of swarm robotics is not to have a leader.
| Source: https://knowyourmeme.com/memes/my-goodness-why-didnt-i-think-of-that |
But let me tell you why I thought this was okay. In this approach, the leader changes all the time. It's not a permanent role. Even in 2 consecutive moves of the swarm, the leader might be two different agents. So I thought this is fine because the role is temporary and anybody can become a leader.
But at the end of the day, the swarm has had a leader at every point in time. So... yeah. I have to redo everything.

No comments:
Post a Comment