micro-ROS.github.io icon indicating copy to clipboard operation
micro-ROS.github.io copied to clipboard

ISOLATION from different systems

Open Muthukumar4796 opened this issue 1 year ago • 4 comments

HI, i am working with ros2 and micro-ros but I don't want to share my topics within the same network so I kept ROS_DOMAIN_ID=10 in my bashrc but while running micro ros agent I am not getting my topics. its because of ros_domain_id is not allowing to communicate between micro-ros and ros2 .

so i want a solution to communicate between ros2 and micro-ros and also i don't want to share my instances within the same network.

can anyone help me in this? Thankyou.

Muthukumar4796 avatar Dec 08 '23 07:12 Muthukumar4796

Are you setting the Domain ID in the micro-ROS client side?

pablogs9 avatar Dec 11 '23 06:12 pablogs9

I'm not entirely sure what you mean by micro-ROS client side. Are you referring to the micro ROS workspace?

Muthukumar4796 avatar Dec 11 '23 13:12 Muthukumar4796

In your micro-ROS application, are you setting the domain id to 10 as you can see here: https://github.com/micro-ROS/micro-ROS-demos/blob/70f3cbf27ce12dc9e57e5095b4233553e207d866/rclc/configuration_example/configured_publisher/main.c#L49

pablogs9 avatar Dec 11 '23 13:12 pablogs9

Thanks for the response.I didn't do the above steps.I didn't understand the code.I run the above code in my system. Micro ros agent is not loaded. Can you please tell me step by step process.

Muthukumar4796 avatar Dec 11 '23 15:12 Muthukumar4796