Distributed decision making for task switching via a consensus-like algorithm | IEEE Conference Publication | IEEE Xplore