This thesis contributes in two ways. First it describes a new framework for the systematic design of collective behaviors and solves a key stability issue under this design framework. In this thesis we apply this framework to solve three tasks in the swarm robotics field: connectivity maintenance, formation control and...