We are doing the following steps:
-
connecting to husarnet group (local machine: ubuntu 24.04, ros2 jazzy)
-
Running ros2router container using the following command in vm
docker run
–detach
–restart=unless-stopped
–network host
-e DISCOVERY_SERVER_PORT=“11888”
husarnet/ros2router:1.2.0 -
in local machine running
docker run
–detach
–restart=unless-stopped
–network host
-e ROS_DISCOVERY_SERVER=“team_id_team_name:11888”
husarnet/ros2router:1.2.0
We are exporting ROS_LOCALHOST_ONLY=1 on both vm and local machine. still no communication is established.
Can anyone help here?
Moreover, now
ros2 topic list isnt printing any topics in vm.