Connectivity Drop with More Than 5 Devices in Micro-ROS Agent on Docker (Raspberry Pi 5)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- cmake, cpp, docker
- 領域
- devops, embedded-iot, networking
調査の方向性
まず、src/micro_ros_setup/config/host/generic/client-host-colcon.meta と src/uros/rmw_microxrcedds/rmw_microxrcedds_c/CMakeLists.txt、および workspace の /src/colcon.meta を比較します。agent と client のログを収集しながら、5 台を超える ESP32 デバイスでドロップアウトを再現します。正しい設定パスが確立され、テスト済みのセットアップで意図したクライアント数を接続のドロップなしにサポートできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description:
I am running a micro-ROS agent in a Docker container using the prebuilt image (humble) on a Raspberry Pi 5. I have several ESP32 devices with micro-ROS (Humble). When I attempt to connect more than five devices to the agent, I experience connectivity dropouts, where some devices fail to stay connected. With 5 devices, they are successful in subscribing to topics.
I suspect this issue might be related to the configuration flags in the micro-ROS build, particularly those related to client and resource limits. I came across the following parameters:
RMW_UXRCE_MAX_CLIENTSRMW_UXRCE_MAX_SUBSCRIPTIONSRMW_UXRCE_MAX_SESSIONSRMW_UXRCE_MAX_NODESRMW_UXRCE_MAX_PUBLISHERSRMW_UXRCE_MAX_SERVICESRMW_UXRCE_MAX_WAIT_SETSRMW_UXRCE_MAX_GUARD_CONDITIONRMW_UXRCE_MAX_TOPICS
These parameters seem critical to configuring the agent, especially as I'm dealing with multiple devices where each subscribes to three topics. I suspect increasing the RMW_UXRCE_MAX_CLIENTS value might help, but I'm not entirely sure.
What I've Tried:
- I attempted to experiment by manually setting
RMW_UXRCE_MAX_CLIENTSto 1 (as a test), but it did not yield the expected results, as multiple clients could still connect. - I've tried searching through the documentation, including Vulcanexus for guidance, but I haven't been able to solve the issue.
Question:
In order to adjust these flags and rebuild the micro-ROS agent from source, do I need to modify the build configuration in the following file?
Or should the changes be made in this file instead?
I believe the latter might be where the flags should be set, but I'm uncertain. Has anyone else experienced similar connectivity issues when connecting more than five devices to a micro-ROS agent on Docker? If so, how did you resolve it?
(I've also noticed a colcon.meta file in the /src folder of my workspace, should the be used?)
Any guidance on where exactly to set the flags for a manual source installation would be greatly appreciated - Or even the correct approach to setting up an agent to allow for more than 20 clients!
Thanks in advance for your help!
System Details:
- Hardware: Raspberry Pi 5
- Docker Image: Prebuilt micro-ROS agent
- Micro-ROS Version: Humble on ESP32 devices
- Number of Devices: 5+ ESP32 devices
- Topics per Device: 3 Topics per device
Links to Documentation:
- Vulcanexus Documentation on Memory Management
- micro_ros_setup Repository
- rmw_microxrcedds Repository
Thank you!
- 主要言語
- C++
- スター
- 201
- フォーク
- 111
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 10
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
micro-ROS/micro-ROS-Agent のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
micro-ROS/micro-ROS-Agent#270 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
micro-ROS/micro-ROS-Agent#269 ·
-
Release to apt オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
micro-ROS/micro-ROS-Agent#267 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
micro-ROS/micro-ROS-Agent#266 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
micro-ROS/micro-ROS-Agent#265 · コメント 1 件 ·
micro-ROS/micro-ROS-Agent の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AXERA-TECH/ax-llm#77 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
games-on-whales/wolf#509 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NVIDIA/cuda-samples#453 ·