Online velocity optimization of robotic swarm flocking using particle swarm optimization (PSO) method