Flocking with obstacle avoidance: cooperation with limited communication in mobile networks | Synapse