Split a formation task over a communication tree
A playable, planar version of the distributed task decomposition in A Communication Consistent Approach to Signal Temporal Logic Task Decomposition in Multi-Agent Systems. Six rovers receive a formation as a set of Signal Temporal Logic tasks, each saying that one rover must be at a given offset from another, always or eventually, within a time window. Some of those tasks couple rovers that cannot talk to each other. The decomposition rewrites each of them as a chain of smaller tasks along the path of the communication tree, so that every rover only has tasks with its neighbours. It is computed by the edges of the tree themselves, which only exchange messages with the adjacent edges.
Pick a formation and a tree. Dashed red sets are the tasks that need decomposing. Press Decompose and watch each chain of yellow sets slide and shrink until its blue Minkowski sum fits inside the dashed set, while the penalties drop to zero. Then Run mission: the rovers follow only the decomposed tasks, and the original ones turn green when they are met. Try the star tree, where nothing needs decomposing, and the chain, where a task may travel five hops.
Every follower holds an offset from the leader, always between 8 s and 14 s. Drag rovers at any time, also during the mission, to perturb the team.
What is running
The decomposition is the paper's Algorithm 1, ported edge by edge from the published code. Each sub-task is a translated and scaled copy of the original polytope (eq. 30). The chain along a path must satisfy the vertex inclusion condition of Prop. 4 (eq. 34), which couples the edges of the path; the edges that must hold several tasks at the same time add the conflicting-conjunction constraints (eq. 47). Every edge solves its local problem (eq. 55) with a penalty variable, swaps the consensus vectors and the Lagrange multipliers with the neighbouring edges, and steps the consensus with a diminishing learning rate. The cost maximises the sum of the scales (eq. 50). One change makes every local problem a linear program: the quadratic communication-radius constraint on the vertices is replaced by the sufficient linear condition that the centre norm plus the scaled vertex radius stays below the radius.
The execution controller is not the one of the paper. It is a plain decentralised law: each edge of the tree aims its relative position at the point deepest inside all the decomposed sets it currently has to hold (the Chebyshev centre of their intersection), ramping each task in a few seconds before its window and dropping it after, with saturated speed. The sub-tasks of an eventually task are held at a common time, as eq. 32 of the paper requires. Each rover uses no information beyond its neighbours' positions, which is the point of the decomposition. See the publications page for the paper and the Martian mission video.