ROS2WASM: Bringing the Robot Operating System to the Web
<|reference_start|>ROS2WASM: Bringing the Robot Operating System to the Web: 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 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. This approach significantly enhances 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 a web platform available at www.ros2wasm.dev that allows 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.<|reference_end|>
@article{fischer2024ros2wasm:,
    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={2024},
    archivePrefix={arXiv},
    eprint={2409.09941},
    primaryClass={cs.RO}
}