Attack-resilient distributed formation control via online adaptation | Synapse