Optimal trajectories for multi robot localization