Push a free-flyer around an obstacle
A playable, planar version of the controller in Multi-Agent Transportation of Free-Flyers in Microgravity Via Pushing Interaction Under Human-in-the-Loop Control. You are the human operator: you command a velocity for the drifting target. Four chaser robots can only push it, each from a fixed contact on the hull. The controller decides how hard each one pushes and, when the team is poorly placed for your command, sends the chasers to new contacts, during which the target coasts unactuated. A control barrier function keeps the target out of the obstacle no matter what you ask.
Deliver the target into the goal ring and hold it still for a second. Try driving straight at the obstacle: the dotted line is where the target would coast in the next two seconds, and it turns red when the barrier takes over. Chasers are green in the primary mode, orange in the backup mode and blue while they relocate.
Keyboard: arrows or WASD to move, Q/E to rotate, Space to release, R to reset, Esc to leave.
What is running
Everything in the box is the controller of the paper, reduced to the plane: the reference filter (eq. 8), the control Lyapunov constraints on the twist error, the barrier b (eq. 14) and its predictive version b* (eq. 22), the fixed-allocation thrust program (eq. 35–36) and the three-mode hybrid automaton of Sec. V. The mixed-integer allocation program (eq. 20) is solved exactly by enumerating all 495 placements of four chasers over the twelve contacts, which is cheap in two dimensions. The controller runs at 100 Hz in your browser; nothing is sent to a server.
The code lives with the rest of this site. See the publications page for the paper and the full three-dimensional implementation.