Controlling the interaction of a multi-robot system with external entities