Glossary

Swarm robotics

Swarm robotics – definition

Swarm robotics is a field of multi-robot systems in which a larger group of relatively simple robots cooperates through local sensing, local communication, and distributed decision-making. The main design principle is decentralization. A swarm usually does not depend on one global controller, one precise world model, or one robot with a privileged role. Instead, collective behavior emerges from rules executed by each robot and from robot-to-robot or robot-to-environment interactions.

In mobile robotics and UGV platforms, swarm robotics typically means a fleet of ground robots that share tasks such as exploration, mapping, inspection, area coverage, or distributed sensing. In ROS 2-based systems, this is implemented as multiple robot namespaces, replicated node graphs, inter-robot communication links, and coordination logic built on standard interfaces such as geometry_msgs, nav_msgs, sensor_msgs, tf2, and DDS-based transport. The concept is closely related to multi-robot navigation, but it is narrower in one technical sense: swarm robotics emphasizes scalability, robustness to single-node failure, and simple local behaviors that still produce useful global outcomes.

For Fictionlab platforms, swarm robotics is relevant when several Leo Rover units or several Raph Rover units operate in one environment, or when mixed fleets are used with different payload and mobility constraints. Leo Rover is suitable for laboratory research, education, and low-payload field experiments. Raph Rover is a better fit when larger batteries, heavier sensors, or more demanding terrain require higher payload capacity. In both cases, autonomous behavior is not provided out of the box. A swarm requires integration of localization, communication, task allocation, and safety layers.

How swarm robotics works in ROS 2

ROS 2 is a practical middleware base for swarm experiments because it uses DDS or DDS-compatible middleware. DDS provides discovery, QoS control, and peer-to-peer communication patterns useful in distributed systems. However, ROS 2 itself does not define a swarm standard. Engineers build the swarm architecture from ROS 2 primitives, REP conventions, and robot-specific launch and namespace design.

A common pattern is one ROS 2 graph per robot, isolated by namespace. Each robot publishes its local state, sensor data, and transforms. Selected topics are bridged to a fleet layer. This avoids accidental topic collisions and can reduce bandwidth load.

  • Namespace per robot – for example /robot_1, /robot_2, /robot_3.
  • Frame naming – map, odom, and base_link are usually prefixed or remapped, for example robot_1/base_link.
  • Motion interface – velocity commands are typically sent through geometry_msgs/msg/Twist on a namespaced cmd_vel topic.
  • Odometry – published as nav_msgs/msg/Odometry, often at 10-50 Hz depending on controller and compute budget.
  • Map exchange – occupancy grids use nav_msgs/msg/OccupancyGrid, but full-map broadcast does not scale well.
  • Transform tree – managed with tf2; consistent frame naming is critical in multi-robot deployments.

ROS 2 QoS settings matter. Best effort is often used for high-rate sensor streams on unreliable wireless links. Reliable QoS is usually kept for low-rate but important coordination messages. If the swarm uses Wi-Fi in field conditions, topic frequency and history depth must be tuned to avoid excessive discovery traffic and queue growth.

ros2 launch my_swarm bringup.launch.py \
  robot_name:=robot_1 \
  namespace:=/robot_1 \
  use_sim_time:=false
/**:
  ros__parameters:
    robot_radius: 0.28
    cmd_vel_timeout: 0.5
    publish_rate: 20.0
    use_namespace: true
    base_frame: robot_1/base_link
    odom_frame: robot_1/odom
    map_frame: robot_1/map

Core behaviors and algorithms

Swarm robotics on UGVs is usually implemented with a small set of distributed behaviors. The exact algorithm family depends on whether the goal is exploration, transport, monitoring, or search. In practice, the important distinction is whether coordination is explicit or implicit.

Explicit coordination uses direct messages, shared goals, or auction-based task allocation. Implicit coordination uses environmental cues, local obstacle avoidance, frontier response, or spatial dispersion rules. Both can be implemented on ROS 2.

  • Dispersion and flocking – maintain separation, alignment, and cohesion using neighbor-relative positions or range estimates.
  • Frontier-based multi-robot exploration – assign frontiers to robots to maximize map coverage while reducing overlap.
  • Consensus and formation control – maintain shared heading, spacing, or topology with graph-based control laws.
  • Auction or market-based allocation – robots bid for tasks using distance, battery state, sensor capability, or expected completion time.
  • Distributed SLAM – each robot estimates local pose and map; loop closures and map fusion are resolved collaboratively, centrally, or in a hybrid architecture.

A simple coordination cost can be written as:

J(i, t) = w_d d(i, t) + w_b B(i) + w_s S(i, t)

where d(i, t) is robot-to-task distance, B(i) is a battery or energy term, and S(i, t) is a suitability term for sensor or payload match. The robot with the lowest cost can claim the task. This is common in practical fleet experiments because it is easy to inspect and debug.

Key parameters and metrics

Swarm performance should be measured with system metrics, not only with single-robot navigation accuracy. The key question is whether adding robots improves total mission output without unacceptable communication or coordination cost.

Metric Meaning Typical unit
Coverage rate Mapped or inspected area per time m²/s
Task completion time Time to finish mission objective s or min
Communication load Total data exchanged per robot or fleet Mbps
Scalability Performance change as robot count increases relative gain
Robustness Mission degradation after robot or link failure % objective retained
Localization consistency Agreement of poses and maps across robots m, deg, map error

In real deployments, the communication budget often becomes the limiting factor before CPU resources do. This is especially true when multiple robots stream LiDAR scans, depth images, and TF updates over one wireless channel.

Supported hardware and sensor integration

Swarm robotics does not require identical robots, but heterogeneous fleets increase integration complexity. A practical minimum for each UGV is wheel odometry, an IMU, and a reliable time base. For outdoor operation, GNSS or RTK can improve inter-robot consistency. For map-based operation, LiDAR or depth cameras are typical.

  • Wheel odometry – needed for local motion estimation on wheeled platforms such as Leo Rover.
  • IMU – improves heading stability and helps state estimation through an EKF or UKF.
  • 2D or 3D LiDAR – supports obstacle detection, scan matching, and shared mapping.
  • Depth camera – useful indoors or for short-range perception, but sensitive to lighting and outdoor conditions.
  • GNSS / RTK – useful for outdoor swarm alignment when map overlap is limited.

On Leo Rover, the default compute base is Raspberry Pi, so bandwidth-heavy and CPU-heavy swarm perception pipelines must be selected carefully. Lightweight local autonomy with offboard coordination is often a realistic architecture. On Raph Rover, the larger payload envelope makes it easier to carry higher-grade LiDAR, GNSS/RTK, or more capable compute. That improves distributed mapping and long-range field operation, but it also raises power and integration demands.

Use cases with Leo Rover and Raph Rover

For Leo Rover, swarm robotics fits education, algorithm validation, and indoor or semi-structured outdoor research. Several units can be used to test decentralized exploration, task allocation, or network-aware navigation. Because Leo Rover is a UGV with ROS 2 support, it is a practical platform for reproducible multi-robot labs. The typical constraint is compute and payload, not software compatibility.

For Raph Rover, swarm robotics is more relevant in larger outdoor sites where each robot may carry different sensor payloads. Examples include distributed inspection, agricultural surveying, and terrain monitoring. In such cases, one Raph Rover may carry a heavier sensor suite while several lighter units cover secondary routes. This is not a replacement for a lab-scale Leo Rover setup. It is a different operating point with larger range, higher payload, and usually more expensive sensing.

Limitations and trade-offs

Swarm robotics is attractive because it can improve redundancy and spatial coverage, but it introduces hard systems problems. Wireless communication is unreliable. Clock synchronization may drift. Shared maps may diverge. Multi-robot collision avoidance is more difficult than single-robot obstacle avoidance, especially in narrow spaces.

The main trade-offs are clear:

  • more robots increase coverage, but also increase network traffic and orchestration cost
  • local autonomy improves robustness, but can reduce global optimality
  • centralized map fusion simplifies analysis, but creates a failure point
  • heterogeneous fleets add capability, but complicate calibration, timing, and software maintenance

Normative references and standards

There is no single ROS swarm standard, but several ROS and middleware references are directly relevant. ROS 2 interface design depends on standard message definitions and DDS behavior. Frame conventions are guided by tf2 usage and REP documents. Message schemas such as sensor_msgs, geometry_msgs, and nav_msgs are part of standard ROS interfaces. ROS 2 distributions differ in API maturity and package availability, so implementation details should be checked against the selected release, for example Humble or newer where supported in Leo Rover deployments.

For mobile robot integration, the most useful references are ROS 2 documentation on nodes, topics, QoS, and DDS behavior; relevant REP documents on naming and conventions; and hardware vendor specifications for LiDAR, IMU, GNSS, depth cameras, and compute modules. In research contexts, IEEE literature is a primary source for formal definitions of swarm behavior, distributed control, and multi-robot coordination metrics.

See also