A consensus based algorithm for formation control under directed and switching graphs | IEEE Conference Publication | IEEE Xplore