Task assignment with dynamic perception and constrained tasks in a multi-robot system