Optimizing the Communication Cost in Energy Efficient IoT Devices through an Adaptive Algorithm for Swarm Robotics | Synapse