Connectivity Drop with More Than 5 Devices in Micro-ROS Agent on Docker (Raspberry Pi 5)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cmake, cpp, docker
- Lĩnh vực
- devops, embedded-iot, networking
Hướng nghiên cứu
Bắt đầu bằng cách so sánh src/micro_ros_setup/config/host/generic/client-host-colcon.meta với src/uros/rmw_microxrcedds/rmw_microxrcedds_c/CMakeLists.txt và /src/colcon.meta của workspace. Tái hiện hiện tượng mất kết nối với hơn năm thiết bị ESP32 trong khi thu thập log của agent và client. Hoàn tất khi đã xác định được đường dẫn cấu hình chính xác và một thiết lập đã được kiểm thử hỗ trợ số lượng client dự kiến mà không bị mất kết nối.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- C++
- Star
- 201
- Fork
- 111
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 10
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của micro-ROS/micro-ROS-Agent
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
micro-ROS/micro-ROS-Agent#270 ·
-
micro-ROS Agent on macOS Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
micro-ROS/micro-ROS-Agent#269 ·
-
Release to apt Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
micro-ROS/micro-ROS-Agent#267 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
micro-ROS/micro-ROS-Agent#266 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
micro-ROS/micro-ROS-Agent#265 · 1 bình luận ·
Tất cả issue của micro-ROS/micro-ROS-Agent
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
AXERA-TECH/ax-llm#77 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
games-on-whales/wolf#509 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
bug-unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100