arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.09941cs.RO
收藏

ROS2WASM:将机器人操作系统带入 Web

ROS2WASM: Bringing the Robot Operating System to the Web

Queensland University of Technology(昆士兰科技大学);QuantStack;RWTH Aachen(亚琛工业大学);Italian Institute of Technology(意大利技术研究院)

Tobias Fischer, Isabel Paredes, Michael Batchelor, Thorsten Beier, Jesse Haviland, Silvio Traversaro, Wolf Vollprecht, Markus Schmitz, Michael Milford

AI总结:

本文提出 ROS2WASM,将 RoboStack 与 WebAssembly 集成,使 ROS 2 可直接在浏览器中运行,无需本地安装,从而提升机器人研究的可复现性、安全性与教育可及性。

摘要:

机器人操作系统(ROS)已成为机器人领域事实上的标准中间件,广泛应用于从教育到工业应用的各个领域。RoboStack 发行版是一个基于 conda 的 ROS 打包系统,通过简化在所有主流操作系统和架构上的安装,并实现与 PyTorch 和 Open3D 等科学工具的无缝集成,扩展了 ROS 的可及性。本文介绍了 ROS2WASM,这是 RoboStack 与 WebAssembly 的一种新型集成,使得 ROS 2 及其相关软件能够直接在 Web 浏览器中运行,无需本地安装。ROS2WASM 显著提升了研究的可复现性和可分享性,降低了机器人教育的门槛,并利用 WebAssembly 强大的安全框架来防范恶意代码。我们详细阐述了将 ROS 2 包交叉编译为 WebAssembly 的方法、为浏览器内 ROS 2 通信开发专用中间件的过程,以及 https://www.ros2wasm.dev 的实现——该 Web 平台使用户能够与 ROS 2 环境进行交互。此外,我们还扩展了对 Robotics Toolbox for Python 的支持,并使其 Swift 模拟器适配浏览器兼容性。我们的工作为机器人领域前所未有的可及性铺平了道路,提供了可扩展、安全且可复现的环境,有望变革教育和研究范式。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑