You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ROS2 nodes can subscribe to ROS2 nodes running in another docker containers or on host
Current behavior
ROS2 nodes that run in a container are able to list topics created by ROS2 nodes run on host/another container, but are not able to subscribe to them. The same applies to host if a node is running inside a container.
Steps to reproduce
With a running Docker container from a ROS2 Humble image you can run any node or create a publisher like this:
ros2 topic pub /test std_msgs/msg/Bool
In another Docker container (not another terminal with the same image but a completely separate one) you should be able to see the topic after running
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
OS - Ubuntu 22.04
ROS2 Humble
I discovered the issue around a week ago, as 2 weeks ago everything was working properly. Additionally it was tested on another computers, where the same issue was experienced.
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered:
Is there an already existing issue for this?
Expected behavior
ROS2 nodes can subscribe to ROS2 nodes running in another docker containers or on host
Current behavior
ROS2 nodes that run in a container are able to list topics created by ROS2 nodes run on host/another container, but are not able to subscribe to them. The same applies to host if a node is running inside a container.
Steps to reproduce
With a running Docker container from a ROS2 Humble image you can run any node or create a publisher like this:
In another Docker container (not another terminal with the same image but a completely separate one) you should be able to see the topic after running
but
will not return any messages
Fast DDS version/commit
ros-humble-fastrtps 2.6.8-1jammy.20240728.201342
ros-humble-fastrtps-cmake-module 2.2.2-2jammy.20240728.202329
ros-humble-rmw-fastrtps-cpp 6.2.7-1jammy.20240728.212513
ros-humble-rmw-fastrtps-shared-cpp 6.2.7-1jammy.20240728.211440
ros-humble-rosidl-typesupport-fastrtps-c 2.2.2-2jammy.20240728.210059
ros-humble-rosidl-typesupport-fastrtps-cpp 2.2.2-2jammy.20240728.205803
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
OS - Ubuntu 22.04
ROS2 Humble
I discovered the issue around a week ago, as 2 weeks ago everything was working properly. Additionally it was tested on another computers, where the same issue was experienced.
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: