Localhost configuration with MicroROS and CycloneDDS

Open
#149 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux

Research direction

Start by reviewing how ROS_LOCALHOST_ONLY and CycloneDDS are configured for the micro-ROS agent, comparing the reported setup with the working FastDDS case. Reproduce the Ubuntu 22/Jetpack 6 setup and check whether agent topics become visible from another terminal; done means localhost communication works with CycloneDDS or the supported limitation is documented.

Written by the indexing model from the issue text.

Description

I'm working with CycloneDDS for ROS2 Humble and I'm trying to use the ROS_LOCALHOST_ONLY variable (or another localhost configuration) with MicroROS. While it worked with FastDDS, I haven't been able to establish communication between the agent and the ROS system using CycloneDDS, even though both are running on the same machine.

The (serial) connection between the agent and the microcontroller is successfully established, and all instances (subscribers, publishers, etc.) are created without issues. However, the topics are not visible in any other terminal on the machine.

Everything run on Ubuntu22/Jetpack6.

Is there an option to enable this configuration or will it be included in the future?

Dominant language
Python
Stars
334
Forks
111
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from micro-ROS/micro_ros_platformio

All issues in micro-ROS/micro_ros_platformio

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.