English

ROS2WASM: Bringing the Robot Operating System to the Web

Robotics 2025-03-10 v2

Abstract

The Robot Operating System (ROS) has become the de facto standard middleware in robotics, widely adopted across domains ranging from education to industrial applications. The RoboStack distribution, a conda-based packaging system for ROS, has extended ROS's accessibility by facilitating installation across all major operating systems and architectures, integrating seamlessly with scientific tools such as PyTorch and Open3D. This paper presents ROS2WASM, a novel integration of RoboStack with WebAssembly, enabling the execution of ROS 2 and its associated software directly within web browsers, without requiring local installations. ROS2WASM significantly enhances the reproducibility and shareability of research, lowers barriers to robotics education, and leverages WebAssembly's robust security framework to protect against malicious code. We detail our methodology for cross-compiling ROS 2 packages into WebAssembly, the development of a specialized middleware for ROS 2 communication within browsers, and the implementation of https://www.ros2wasm.dev, a web platform enabling users to interact with ROS 2 environments. Additionally, we extend support to the Robotics Toolbox for Python and adapt its Swift simulator for browser compatibility. Our work paves the way for unprecedented accessibility in robotics, offering scalable, secure, and reproducible environments that have the potential to transform educational and research paradigms.

Keywords

Cite

@article{arxiv.2409.09941,
  title  = {ROS2WASM: Bringing the Robot Operating System to the Web},
  author = {Tobias Fischer and Isabel Paredes and Michael Batchelor and Thorsten Beier and Jesse Haviland and Silvio Traversaro and Wolf Vollprecht and Markus Schmitz and Michael Milford},
  journal= {arXiv preprint arXiv:2409.09941},
  year   = {2025}
}

Comments

Proceedings of the IEEE International Conference on Robotics and Automation 2025

R2 v1 2026-06-28T18:45:32.318Z