Code for a study investigating leader-based control of robot swarms.