Understanding collective aggregation mechanisms: From probabilistic modelling to experiments with real robots