René's URL Explorer Experiment


Title: Connectivity Drop with More Than 5 Devices in Micro-ROS Agent on Docker (Raspberry Pi 5) · Issue #233 · micro-ROS/micro-ROS-Agent · GitHub

Open Graph Title: Connectivity Drop with More Than 5 Devices in Micro-ROS Agent on Docker (Raspberry Pi 5) · Issue #233 · micro-ROS/micro-ROS-Agent

X Title: Connectivity Drop with More Than 5 Devices in Micro-ROS Agent on Docker (Raspberry Pi 5) · Issue #233 · micro-ROS/micro-ROS-Agent

Description: 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,...

Open Graph Description: 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 conn...

X Description: 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 conn...

Opengraph URL: https://github.com/micro-ROS/micro-ROS-Agent/issues/233

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Connectivity Drop with More Than 5 Devices in Micro-ROS Agent on Docker (Raspberry Pi 5)","articleBody":"**Description:**\r\nI 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.\r\n\r\nI 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:\r\n\r\n- `RMW_UXRCE_MAX_CLIENTS`\r\n- `RMW_UXRCE_MAX_SUBSCRIPTIONS`\r\n- `RMW_UXRCE_MAX_SESSIONS`\r\n- `RMW_UXRCE_MAX_NODES`\r\n- `RMW_UXRCE_MAX_PUBLISHERS`\r\n- `RMW_UXRCE_MAX_SERVICES`\r\n- `RMW_UXRCE_MAX_WAIT_SETS`\r\n- `RMW_UXRCE_MAX_GUARD_CONDITION`\r\n- `RMW_UXRCE_MAX_TOPICS`\r\n\r\nThese 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.\r\n\r\n**What I've Tried:**\r\n- I attempted to experiment by manually setting `RMW_UXRCE_MAX_CLIENTS` to 1 (as a test), but it did not yield the expected results, as multiple clients could still connect.\r\n- I've tried searching through the documentation, including [Vulcanexus](https://docs.vulcanexus.org/en/latest/rst/tutorials/micro/memory_management/memory_management.html#:~:text=RMW_UXRCE_MAX_NODES%20%3A%20Maximum%20number%20of%20micro,Default%20value%3A%204) for guidance, but I haven't been able to solve the issue.\r\n\r\n**Question:**\r\nIn 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?\r\n- [`src/micro_ros_setup/config/host/generic/client-host-colcon.meta`](https://github.com/micro-ROS/micro_ros_setup/blob/jazzy/config/host/generic/client-host-colcon.meta)\r\n\r\nOr should the changes be made in this file instead?\r\n- [`src/uros/rmw_microxrcedds/rmw_microxredds_c/CMakeLists.txt`](https://github.com/micro-ROS/rmw_microxrcedds/blob/jazzy/rmw_microxrcedds_c/CMakeLists.txt)\r\n\r\nI 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?\r\n\r\n(I've also noticed a colcon.meta file in the /src folder of my workspace, should the be used?)\r\n\r\nAny 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!\r\n\r\nThanks in advance for your help!\r\n\r\n**System Details:**\r\n- **Hardware:** Raspberry Pi 5\r\n- **Docker Image:** Prebuilt micro-ROS agent\r\n- **Micro-ROS Version:** Humble on ESP32 devices\r\n- **Number of Devices:** 5+ ESP32 devices\r\n- **Topics per Device:** 3 Topics per device\r\n\r\n**Links to Documentation:**\r\n- [Vulcanexus Documentation on Memory Management](https://docs.vulcanexus.org/en/latest/rst/tutorials/micro/memory_management/memory_management.html)\r\n- [micro_ros_setup Repository](https://github.com/micro-ROS/micro_ros_setup/blob/jazzy/config/host/generic/client-host-colcon.meta)\r\n- [rmw_microxrcedds Repository](https://github.com/micro-ROS/rmw_microxrcedds/blob/jazzy/rmw_microxrcedds_c/CMakeLists.txt)\r\n\r\nThank you!\r\n\r\n","author":{"url":"https://github.com/SpaceBod","@type":"Person","name":"SpaceBod"},"datePublished":"2024-08-22T00:12:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/233/micro-ROS-Agent/issues/233"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4798a8dd-c771-e432-a63a-182928362d11
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9E42:3106E:22705D7:2C57E37:69756EB7
html-safe-noncec01d00f7f749b967fff3d537f65737d5601cd37e5eca44ab70985b96506b34b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTQyOjMxMDZFOjIyNzA1RDc6MkM1N0UzNzo2OTc1NkVCNyIsInZpc2l0b3JfaWQiOiIzODg3MjYyNjUyNDA4NjIyNzc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca9582d3f7a51698d933a1ead5f43ec9efece12d6924b0adc6a5d9bcd6acf46c7
hovercard-subject-tagissue:2479454670
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/micro-ROS/micro-ROS-Agent/233/issue_layout
twitter:imagehttps://opengraph.githubassets.com/32789c52ad3fe05969524dc859171e20cf45007b04eaeb19e570d7949a0257ef/micro-ROS/micro-ROS-Agent/issues/233
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/32789c52ad3fe05969524dc859171e20cf45007b04eaeb19e570d7949a0257ef/micro-ROS/micro-ROS-Agent/issues/233
og:image:altDescription: 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 conn...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSpaceBod
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/micro-ROS/micro-ROS-Agent git https://github.com/micro-ROS/micro-ROS-Agent.git
octolytics-dimension-user_id49058602
octolytics-dimension-user_loginmicro-ROS
octolytics-dimension-repository_id156196165
octolytics-dimension-repository_nwomicro-ROS/micro-ROS-Agent
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id156196165
octolytics-dimension-repository_network_root_nwomicro-ROS/micro-ROS-Agent
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/issues/233#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicro-ROS%2Fmicro-ROS-Agent%2Fissues%2F233
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicro-ROS%2Fmicro-ROS-Agent%2Fissues%2F233
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=micro-ROS%2Fmicro-ROS-Agent
Reloadhttps://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/issues/233
Reloadhttps://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/issues/233
Reloadhttps://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/issues/233
micro-ROS https://patch-diff.githubusercontent.com/micro-ROS
micro-ROS-Agenthttps://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmicro-ROS%2Fmicro-ROS-Agent
Fork 95 https://patch-diff.githubusercontent.com/login?return_to=%2Fmicro-ROS%2Fmicro-ROS-Agent
Star 167 https://patch-diff.githubusercontent.com/login?return_to=%2Fmicro-ROS%2Fmicro-ROS-Agent
Code https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent
Issues 35 https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/issues
Pull requests 3 https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/pulls
Actions https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/actions
Projects 0 https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/projects
Security 0 https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/security
Insights https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/pulse
Code https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent
Issues https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/issues
Pull requests https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/pulls
Actions https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/actions
Projects https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/projects
Security https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/security
Insights https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/micro-ROS/micro-ROS-Agent/issues/233
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/micro-ROS/micro-ROS-Agent/issues/233
Connectivity Drop with More Than 5 Devices in Micro-ROS Agent on Docker (Raspberry Pi 5)https://patch-diff.githubusercontent.com/micro-ROS/micro-ROS-Agent/issues/233#top
https://github.com/SpaceBod
https://github.com/SpaceBod
SpaceBodhttps://github.com/SpaceBod
on Aug 22, 2024https://github.com/micro-ROS/micro-ROS-Agent/issues/233#issue-2479454670
Vulcanexushttps://docs.vulcanexus.org/en/latest/rst/tutorials/micro/memory_management/memory_management.html#:~:text=RMW_UXRCE_MAX_NODES%20%3A%20Maximum%20number%20of%20micro,Default%20value%3A%204
src/micro_ros_setup/config/host/generic/client-host-colcon.metahttps://github.com/micro-ROS/micro_ros_setup/blob/jazzy/config/host/generic/client-host-colcon.meta
src/uros/rmw_microxrcedds/rmw_microxredds_c/CMakeLists.txthttps://github.com/micro-ROS/rmw_microxrcedds/blob/jazzy/rmw_microxrcedds_c/CMakeLists.txt
Vulcanexus Documentation on Memory Managementhttps://docs.vulcanexus.org/en/latest/rst/tutorials/micro/memory_management/memory_management.html
micro_ros_setup Repositoryhttps://github.com/micro-ROS/micro_ros_setup/blob/jazzy/config/host/generic/client-host-colcon.meta
rmw_microxrcedds Repositoryhttps://github.com/micro-ROS/rmw_microxrcedds/blob/jazzy/rmw_microxrcedds_c/CMakeLists.txt
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.