Scientists develop biologically inspired resilient robot swarms