Open Source Robotics

A curated collection of high-quality open source robotics projects, tools, and software to propel the robotics community forward.

Formation Control

  • Also called: formation keeping
  • Category: Learning & autonomy › Multi-robot
  • Tags: multi-robot, distributed-control, coordination, swarms, uav

Coordinating a group of robots so they reach and keep a specified geometric arrangement, such as fixed distances, offsets or spacing along a path, usually with local sensing and communication.

Definition

Formation control is the problem of steering several robots so that their relative positions take on and hold a desired shape, such as a line, a wedge, a ring or equal spacing along a curve, while the group moves or holds station. Each robot usually knows only its own state and what it can sense or receive from nearby neighbors, so the controller must achieve a global shape from local information. It is a central topic in multi-robot systems, with applications ranging from groups of drones and spacecraft to platoons of trucks.

Classic architectures include leader-follower schemes, in which followers track offsets from a leader; virtual-structure schemes, in which the formation is treated as a rigid body whose points the robots occupy; and behavior-based schemes, which blend goals such as keeping formation, avoiding obstacles and reaching a target. A widely cited survey by Oh, Park and Ahn (2015) classifies methods by what they sense and control: position-based (absolute positions in a common frame), displacement-based (relative position vectors in aligned frames, often built on consensus algorithms) and distance-based (only inter-robot distances, which requires the formation graph to be rigid so that the distances fix the shape). The communication graph matters in all of them: connectivity decides whether the group can agree at all, and delays and dropouts affect stability.

Formation control is closely related to coordinated path following, in which each robot follows its own path and the group coordinates its progress along those paths, for example keeping set arc distances between aircraft circling the same orbit. It differs from swarm robotics, which usually relies on simple local rules and emergent group behavior without a prescribed shape, and from multi-agent path finding, which plans collision-free routes on graphs rather than regulating continuous relative geometry. Real deployments add collision avoidance, actuation limits such as the near-constant speed of fixed-wing aircraft, and estimation of neighbors' positions, which is often the hardest part outdoors.

Why it matters

Many multi-robot tasks need the robots to keep a geometry: sensor arrays need a baseline, convoys need safe spacing, and cooperative transport needs fixed grasp points. Formation control provides the methods and stability guarantees for doing that with limited communication.

Key applications

  • Coordinated flight of multirotor and fixed-wing UAV groups
  • Vehicle platooning on highways
  • Multi-robot cooperative transport
  • Distributed sensing and surveillance around a target
  • Spacecraft formation flying
  • Marine vehicle convoys and survey patterns

In practice

Several fixed-wing UAVs must circle a point of interest at equal spacing. Each aircraft follows a guiding vector field that converges to the circle, and a coordination term adjusts its progress along the path based on the arc distances to its neighbors, which it receives over a local radio link. Because the aircraft cannot hover or stop, spacing has to be corrected by changing how each one moves along or around the path rather than by waiting. Before flight tests, the team simulates dropped links: with a connected communication graph the spacing recovers, while a graph that splits lets the separated subgroups drift apart.

Common misconceptions

  • Formation control needs a central computer that knows all positions — many methods are distributed and use only information from neighbors
  • Keeping pairwise distances fixes the formation's shape — only if the distance graph is rigid; otherwise the shape can deform while every specified distance holds
  • Formation control and swarm robotics are the same — swarm methods usually produce emergent group behavior from local rules, while formation control regulates a specified geometry

Who should know this

  • Multi-robot systems engineers
  • UAV and drone fleet developers
  • Control engineers working on networked systems
  • Autonomous vehicle platooning engineers

Related technologies

  • Consensus Algorithms
  • Graph Rigidity Theory
  • Leader-Follower Control
  • Virtual Structure Method
  • Guiding Vector Fields
  • Cooperative Adaptive Cruise Control

Related terms

  • Swarm Robotics
  • Multi-Agent Path Finding
  • Dubins Car
  • UAV
  • Unicycle Model

Related projects

  • ArduPilot: World's most trusted open-source autopilot for drones, planes, rovers, and submarines
  • PX4 Autopilot: Open-source flight control software for drones and other unmanned vehicles
  • Open X-Embodiment (OXE): Largest open robotics dataset: 1M+ episodes from 22 embodiments
  • Paparazzi UAV: Complete university-developed open-source UAV system for research and fixed-wing drones
  • MAVROS: ROS gateway for MAVLink-compatible autopilots (PX4, ArduPilot)
  • IR-SIM: Lightweight pure-Python 2D robot simulator for navigation, control and RL research

This website requires JavaScript to function properly. Please enable JavaScript to explore our collection of open source robotics projects.