日本フィジカルAI新聞

世界のフィジカルAIを、日本語で。

ミドルウェア/IPCarXiv:2506.16882

ROS 2 Agnocast: 可変長メッセージ型に対応した真のゼロコピーPub/Sub IPC

ROS 2 Agnocast: Supporting Unsized Message Types for True Zero-Copy Publish/Subscribe IPC

シェア:XThreadsFacebookLINEはてブBluesky

可変長メッセージ型を含む全ROS 2メッセージ型に対応しつつ、既存コードの変更を最小限に抑え、ノード間で選択的にゼロコピー通信を実現するIPCフレームワークAgnocastを提案する。

詳しい要約

1. どんなもの?

- ROS 2 向けの true zero-copy publish/subscribe IPC フレームワーク「Agnocast」 - ROS 2 C++ on Linux を対象 - serialization/deserialization を排除する通信を実現 - unsized message types を含む全 ROS 2 message types を扱えることを狙う - 既存アプリコードへの変更を最小化し、特定ノード間のみ zero-copy を選択適用できる設計

2. 先行研究と比べてどこがすごい?

- 既存の true zero-copy middleware は3要件を満たせず普及が進んでいない - 1) unsized を含む全 ROS 2 message types 対応 - 2) 既存アプリコードの変更最小化 - 3) 特定ノード間のみ zero-copy、他は従来通信(inter-host 含む)を維持 - IceOryx は実用的な true zero-copy 解だが unsized 対応(要件1)を満たさない - 要件1を満たす他研究は要件2・3を満たさない - Agnocast は3要件すべてを満たす点が差分

3. 技術・手法の肝は?

- ROS 2 C++ on Linux 上で true zero-copy IPC を実現するフレームワーク - serialization/deserialization を排除する通信機構を提供 - unsized message types を含む全 ROS 2 message types を対象化 - 既存アプリコードへの変更を最小化する統合方式 - 特定ノード間のみ zero-copy を選択適用し、他ノード間や inter-host 通信は従来機構を維持 - 具体的な内部実装の詳細は要旨からは不明

4. どうやって有効だと検証した?

- 評価により、unsized message types でも message size に依らず IPC overhead が一定であることを示す - Autoware PointCloud Preprocessing で評価 - 平均 response time が 16% 改善 - worst-case response time が 25% 改善 - 上記2点が要旨で示される主な検証結果

5. 議論はある?

- 要旨からは不明 - 想定される論点(要旨の記述範囲): - unsized message types 対応と zero-copy の両立可否 - 既存コード変更の最小化と選択的適用の実運用上の負担 - inter-host 通信を従来機構に残す構成の性能・整合性 - ただしこれらに対する本文での議論内容は要旨からは不明

6. 次に読むべき論文は?

- IceOryx(要旨で比較される実用的 true zero-copy middleware) - 要件1(unsized 対応)を満たすとされる既存研究(要旨では個別名の記載なし) - ROS 2 の IPC middleware 基盤 - Autoware(評価対象の production-grade ROS 2 プロジェクト) - 同分野の定番として zero-copy 通信・shared memory ベース IPC に関する研究

※ AIが要旨から生成した要約です。正確性は原文をご確認ください。

著者: Takahiro Ishikawa-Aso, Shinpei Kato

分類: cs.OS, cs.RO

原文アブストラクト

Robot applications, comprising independent components that mutually publish/subscribe messages, are built on inter-process communication (IPC) middleware such as Robot Operating System 2 (ROS 2). In large-scale ROS 2 systems like autonomous driving platforms, true zero-copy communication -- eliminating serialization and deserialization -- is crucial for efficiency and real-time performance. However, existing true zero-copy middleware solutions lack widespread adoption as they fail to meet three essential requirements: 1) Support for all ROS 2 message types including unsized ones; 2) Minimal modifications to existing application code; 3) Selective implementation of zero-copy communication between specific nodes while maintaining conventional communication mechanisms for other inter-node communications including inter-host node communications. This first requirement is critical, as production-grade ROS 2 projects like Autoware rely heavily on unsized message types throughout their codebase to handle diverse use cases (e.g., various sensors), and depend on the broader ROS 2 ecosystem, where unsized message types are pervasive in libraries. The remaining requirements facilitate seamless integration with existing projects. While IceOryx middleware, a practical true zero-copy solution, meets all but the first requirement, other studies achieving the first requirement fail to satisfy the remaining criteria. This paper presents Agnocast, a true zero-copy IPC framework applicable to ROS 2 C++ on Linux that fulfills all these requirements. Our evaluation demonstrates that Agnocast maintains constant IPC overhead regardless of message size, even for unsized message types. In Autoware PointCloud Preprocessing, Agnocast achieves a 16% improvement in average response time and a 25% improvement in worst-case response time.

  1. 1Boston Dynamics、車輪付きAtlasの研究試作機を紹介研究・技術
  2. 2newmoとKDDIが資本業務提携 2028年に堺市で自動運転タクシー商用化目指す提携・買収
  3. 3GXOとApptronik、Apolloの物流現場試験を拡大 最大1,000台の展開を構想量産・展開
  4. 4NVIDIA、CoRLでGR00T 2とIsaac Lab 3.0を発表新製品・発表
  5. 5UC BerkeleyとNVIDIAの研究者、AIエージェントでロボット制御コードを仮想環境で改善研究・技術

PR・アフィリエイト広告

OZ GAMING(GPU搭載BTOゲーミングPC)

OZ GAMING(GPU搭載BTOゲーミングPC)の公式広告バナーOZ GAMINGで完成品PCを見る ↗
PR本紙発行元 EmplifAI