Optimizing communication and computational cost for IoT devices in energy efficient swarm robotics | Synapse