In swarm robotics, decentralized control is essential for achieving scalability and fault tolerance. This means that each agent can operate independently without a central authority, thus allowing the system to adapt to failures and changes in the environment dynamically. The consensus problem is a key focus, as it involves agents reaching an agreement on shared state variables like velocity or heading. Successful implementation of decentralized control relies on various algorithms, including the Vicsek model and Olfati-Saber consensus algorithm, which must consider factors such as network topology, communication delays, and resilience to noise.