Paths to consensus in networks of mobile communicating agents