arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.01799cs.ROcs.AIcs.DC
收藏

HPRM:面向智能自主系统的高性能机器人中间件

HPRM: High-Performance Robotic Middleware for Intelligent Autonomous Systems

Jacky Kwok, Shulu Li, Marten Lohstroh, Edward A. Lee

AI总结:

本文提出基于 Lingua Franca 的高性能机器人中间件 HPRM,通过零拷贝、自适应序列化和实时套接字等优化,显著降低多节点大消息通信延迟并保证确定性。

摘要:

智能自主系统的兴起,尤其是在机器人和自主智能体领域,已使人们迫切需要能够确保对海量传感器数据进行实时处理的健壮通信中间件。当前的机器人中间件(如 Robot Operating System(ROS)2)在多核计算平台上跨多个订阅者处理大数据时,面临非确定性和高通信延迟的挑战。为解决这些问题,我们提出了构建在确定性协调语言 Lingua Franca(LF)之上的高性能机器人中间件(High-Performance Robotic Middleware,HPRM)。HPRM采用多项优化,包括用于高效零拷贝传输大负载的内存对象存储、用于最小化序列化开销的自适应序列化,以及结合实时套接字以减少握手延迟的急切协议。基准测试表明,在向多个节点广播大消息时,HPRM实现的延迟最高比 ROS2 低173倍。随后,我们通过将 HPRM 与 CARLA 仿真器集成,并运行强化学习智能体及目标检测工作负载,展示了 HPRM 的优势。在 CARLA 自动驾驶应用中,HPRM 的延迟比 ROS2 低91.1%。HPRM 的确定性协调语义与其优化的 IPC 机制相结合,为智能自主系统实现了高效且可预测的实时通信。

英文摘要:

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.

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

↑