Text this: A collective intelligence model for swarm robotics applications