Jetson (ISAAC-ROS) and PC (ROS2 Humble) Communication

Hi,

Im running ISAAC-ROS Visual SLAM on a Jetson AGX Orin and would like to use its odometry output on a separate PC, which is running ROS2 Humble inside a Docker container.I’ve attempted to enable communication between the two systems by,

  • Setting the same ROS_DOMAIN_ID on both devices
  • Using also CycloneDDS as RMW Implementation

However, communication between them is not working. ros2 topic list in PC docker container does not list any topics from the Jetson.

Please suggest a recommended approach for enabling this communication.

Thanks

Hi @amu459

Thank you for your post.

We have a solution for this problem in trouble shooting page below. Please give it a try.

Best,
Ahung

Hi,

While I try this troubleshooting step, I have another follow up question.

How to setup communication between isaac-ros-dev-container with another ROS2 container running in the same jetson device? Do you have detailed steps documented anywhere?

I am asking because, the setup for isaac-ros-dev-container appears complex compared to a standalone ros2 humble container.

Thanks

Hi @amu459

Since the containers in the device share the host network, you just need to ensure that ROS_DOMAIN_ID is the same. You can run ros2 demo_nodes_cpp below in each container to test.

ros2 run demo_nodes_cpp talker
ros2 run demo_nodes_cpp listener

Best,
Ahung

Hi,

I tried what you suggested but I am not able to access the data in the topic. In the screenshot, the top terminal is the isaac-ros-dev container and the bottom container is a ros:humble container pulled open-source. The ros:humble container was launched with network=host like docker run --network=host -it ros:humble bash.

I am able to see the topics from Jetson via ros2 topic list, but not able to access it.

Please suggest next steps.

Thanks

HI,

It worked when I exported the same rtps_dds_config in the other container. I have one more question before closing the topic.

Can I communicate between ROS2 jazzy and ROS2 Humble (isaac-ros-dev-container)?

Hi @amu459

I don’t think you can use two different ROS 2 distributions. Browsing online, I see developers encouraging errors in memory allocation.

Best,
Raffaello

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.