arXiv:2412.01799cs.ROcs.AI2024-12

HPRM 用低延迟通信让机器人系统更实时可靠。

HPRM: High-Performance Robotic Middleware for Intelligent Autonomous Systems

  • 基于确定性语言 Lingua Franca 构建,实现精准时序控制。
  • 广播大消息时延迟比 ROS2 低 173 倍,自动驾驶场景降 91.1%。
  • 适合对实时性要求高的智能机器人与强化学习系统使用。

智能自主系统(尤其在机器人与自主代理领域)的兴起,催生了对高效通信中间件的迫切需求,以实现实时处理海量传感器数据。现有机器人中间件如 ROS2 在多核平台上处理大量数据与多个订阅者时,存在非确定性和高通信延迟问题。为此,本文提出高性能机器人中间件 HPRM,基于确定性协调语言 Lingua Franca(LF)。HPRM 采用多项优化:内存对象存储实现大负载零拷贝传输,自适应序列化减少序列化开销,以及带有实时套接字的预激活协议降低握手延迟。基准测试显示,当向多个节点广播大消息时,HPRM 的延迟比 ROS2 降低高达 173 倍。我们进一步将 HPRM 集成至 CARLA 模拟器,运行强化学习智能体与目标检测任务。在自动驾驶应用中,HPRM 的延迟较 ROS2 降低 91.1%。HPRM 的确定性协调语义与优化的进程间通信机制,为智能自主系统提供了高效且可预测的实时通信能力。

原文摘要 · Abstract (English)

The rise of intelligent autonomous systems, especially in robotics and autonomous agents, has created a critical need for robust communication middleware that can ensure real-time processing of extensive sensor data. Current robotics middleware like Robot Operating System (ROS) 2 faces challenges with nondeterminism and high communication latency when dealing with large data across multiple subscribers on a multi-core compute platform. To address these issues, we present High-Performance Robotic Middleware (HPRM), built on top of the deterministic coordination language Lingua Franca (LF). HPRM employs optimizations including an in-memory object store for efficient zero-copy transfer of large payloads, adaptive serialization to minimize serialization overhead, and an eager protocol with real-time sockets to reduce handshake latency. Benchmarks show HPRM achieves up to 173x lower latency than ROS2 when broadcasting large messages to multiple nodes. We then demonstrate the benefits of HPRM by integrating it with the CARLA simulator and running reinforcement learning agents along with object detection workloads. In the CARLA autonomous driving application, HPRM attains 91.1% lower latency than ROS2. The deterministic coordination semantics of HPRM, combined with its optimized IPC mechanisms, enable efficient and predictable real-time communication for intelligent autonomous systems.

机器人中间件实时通信ROS2CARLA

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。