LARS
LARS (Light Augmented Reality System) is an open-source framework for light-based interaction and real-time tracking in multi-robot experiments. Inspired by ARK, LARS extends the augmented reality paradigm to robotic collectives by projecting dynamic visual cues and environments onto the arena, enabling new experimental possibilities for collective robotics research, education, and outreach. LARS features integrated tracking, light projection, and modular experiment control with a user-friendly Qt GUI.
Loading...
Searching...
No Matches
LARS: Light-Augmented Reality System for Collective Robotics Interaction ๐Ÿšฆ๐Ÿค–

๐Ÿ“š Documentation
Developer & API Docs: doxygen/html/index.html


LARS Logo


โœจ What is LARS?

LARS (Light Augmented Reality System) is a cross-platform, open-source framework for experimentation, education, and outreach in collective robotics.
It leverages Extended Reality (XR) to seamlessly merge the physical and virtual worlds, projecting dynamic visual objects, such as gradients, fields, trails, and even robot states, directly into the environment where real robots operate.

LARS enables indirect robot-robot communication (stigmergy), while preserving all real-world constraints. It turns "invisible" collective dynamics into tangible, interactive experiences for researchers, students, and the public.


๐Ÿ› ๏ธ Key Features

  • Projection of Virtual, Visual Objects ๐Ÿ”ฆ
  • Marker-Free, Cross-platform Detection and Tracking System (based on ARK) ๐ŸŽฏ
  • Real-Time Performance โšก
  • Standalone System ๐Ÿ–ฅ๏ธ
  • Scalability to Collective Size ๐Ÿ“ˆ
  • Indirect Robot-Robot (Stigmergy) ๐Ÿœ and Human-Robot Communication
  • Direct Communication Possibility ๐Ÿ“ก
  • Ease of Setup and Robustness ๐Ÿ› ๏ธ
  • Logging for Post-Production ๐Ÿ“
  • Cost Effective ๐Ÿ’ถ
  • Open Source ๐Ÿ”“

๐ŸŽฏ Why LARS? (Objectives)

  • For Research:
    • Supporting reliability, reproducibility, and flexibility in collective robotics experiments
    • Improving human-robot interaction
    • Enriching environments with virtual objectsโ€”*without sacrificing realism or robot constraints*
  • For Education:
    • Making abstract information observable to humans
    • Promoting science communication and public engagement by showcasing embodied collective behaviors of robots

๐Ÿน From ARK to LARS: Advanced Multi-Robot Tracking & Visual Augmentation

LARS features a robust, real-time tracking module based on the ARK (Automatic Robot Kinematics) algorithm, but goes far beyond:

  • โšก Dramatically improves speed and accuracy, supporting dense populations (100+ robots) at >35 FPS
  • ๐Ÿ”Ž Robustly handles occlusions, variable lighting, and noisy backgrounds
  • ๐Ÿ”ต Generalizes to **any robot that appears approximately circular from above**โ€”including Kilobots, Thymio, e-puck, and othersโ€”without the need for tags, markers, or hardware modifications
  • ๐Ÿท๏ธ Automatically preserves and recovers robot identities even during close interactions or when robots briefly leave the field of view

Tracking Example

Beyond tracking:
LARS projects virtual visual objects (gradients, cues, signals) in real timeโ€”directly onto the arena and the robots themselves.
This enables:

  • Simulation of virtual environments without hardware changes
  • Dynamic, spatially precise feedback to individual robots or entire collectives
  • Exploration of new paradigms in human-swarm and robot-environment interaction

๐Ÿ—๏ธ Architecture Overview

LARS is built on the classic Model-View-Controller (MVC) pattern:

  • ๐Ÿงฉ Model: World state, physics, and objects
  • ๐Ÿ–ผ๏ธ View: GUI, visualization, and projector output
  • ๐ŸŽฎ Controller: Experiment orchestration, tracking, and logic

LARS MVC Architecture


๐Ÿง‘โ€๐Ÿ”ฌ Example Scenarios

  • ๐Ÿ—ณ๏ธ Collective Decision-Making: Track and visualize 100+ Kilobots in a noisy, projected environment
  • โฐ Swarm Synchronization: Record robot states and group dynamics in real time
  • ๐Ÿ•น๏ธ Interactive Demos: Let visitors steer/interact with swarms and see collective behavior
  • ๐Ÿง‘โ€๐Ÿซ Educational Labs: Manipulate real experiments to teach robotics, physics, and complexity

(a) (b) (c) (d)

(e) (f)

(top, left:) GUI snapshot of 42 Kilobots synchronizing on a grid with their internal binary state being detected by the color of their LED in blue or red,
(top, mid-left:) user view of 63 Kilobots making a collective decision on a tiled environment with projected dynamic noise
(top, mid-right:) GUI Snapshot of 109 Kilobots with the trace of their random movement decaying over time
(top, right:) GUI snapshot of two active balls randomly moving in the bounded arena, being tracked by LARS without the need for any markers

(bottom, left:) GUI snapshot of two Thymios with different colors locating the center of the light distribution (projected by LARS). The trace of each robot shows the consistency of the color detection of each robot over time, even after a collision
(bottom, right:) User view of Thymios moving randomly, with their centroid, the projection of their trajectory (light blue trails), their Voronoi tesselation (black lines) and the corresponding network (green lines).

๐Ÿšฆ Quick Start

LARS runs as a Qt application (Qt 5.6+ recommended). Ubuntu is preferred.

See install_dep.md for full dependency details (Qt, CUDA/OpenCV3, etc.).

git clone https://github.com/mohsen-raoufi/LARS.git
cd LARS

Install dependencies (see install_dep.md)

Build with Qt Creator (recommended) or use qmake + make

User permission

In order to operate the Kilobot's OHC, the user needs to be part of the dialout group. Therefore, add the user to the group dialout with command

sudo usermod -a -G dialout <user-name>

๐Ÿ“„ Citation

If you use or adapt LARS in your research or publications, please cite:

  • Raoufi, M., Romanczuk, P., & Hamann, H. (2024). LARS: Light Augmented Reality System for Swarm. In Swarm Intelligence: 14th International Conference, ANTS 2024, Konstanz, Germany, October 9โ€“11, 2024, Proceedings (Vol. 14987, p. 246). Springer Nature.

also include ARK:

  • Reina A., Cope A.J., Nikolaidis E., Marshall J.A.R., Sabo C. (2017) ARK: Augmented reality for Kilobots. IEEE Robotics and Automation Letters 2, 1755-1761.

๐Ÿ™Œ Acknowledgements

LARS is supported by the Science of Intelligence Cluster of Excellence, Berlin.
Developed and maintained by Mohsen Raoufi.
Open-source under the GNU GPL v3.0.


๐Ÿ”— See Also


๐Ÿ™Œ Contributions welcome! LARS is for scientists, educators, and all who are curious about collective intelligence in robotics.