RSLCPP——使用ROS 2进行确定性仿真
RSLCPP -- Deterministic Simulations Using ROS 2
AI总结:
针对ROS异步多进程设计导致仿真结果不可复现的问题,提出RSLCPP库,通过确定性回调执行实现跨平台可复现仿真,无需修改现有节点代码。
摘要:
仿真在现实机器人技术中至关重要,为开发各种机器人应用提供了安全、可扩展且高效的环境。虽然机器人操作系统(ROS)在学术界和工业界已被广泛采用作为这些机器人应用的基础,但其异步、多进程的设计使得复现变得复杂,尤其是在不同的硬件平台上。当计算时间和通信延迟变化时,无法保证确定性回调执行。这种缺乏复现性的问题给科学基准测试和持续集成带来了困难,因为在这些场景中一致的结果至关重要。为了解决这个问题,我们提出了一种使用ROS 2节点创建确定性仿真的方法。我们的ROS仿真库(RSLCPP)实现了这种方法,使得现有节点可以组合成一个产生可复现结果的仿真例程,通常无需更改任何源代码。我们证明,在测试合成基准测试和真实机器人系统时,我们的方法在各种CPU和架构上产生相同的结果。RSLCPP已开源,网址为:https://this https URL。
英文摘要:
Simulation is crucial in real-world robotics, offering safe, scalable, and efficient environments for developing a variety of robotic applications. While the Robot Operating System (ROS) has been widely adopted as the backbone of these robotic applications in both academia and industry, its asynchronous, multi-process design complicates reproducibility, especially across varying hardware platforms. Deterministic callback execution cannot be guaranteed when computation times and communication delays vary. This lack of reproducibility complicates scientific benchmarking and continuous integration, where consistent results are essential. To address this, we present a methodology to create deterministic simulations using ROS 2 nodes. Our ROS Simulation Library for C++ (RSLCPP) implements this approach, enabling existing nodes to be combined into a simulation routine that yields reproducible results usually without requiring any source code changes. We demonstrate that our approach produces identical results across various CPUs and architectures when testing both a synthetic benchmark and a real-world robotics system. RSLCPP is open-sourced at https://github.com/TUMFTM/rslcpp.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。