[ROS2] Can't see nodes, topics, ... on PC when using container
Hi all,
I am new to ROS and ROS2 and I am trying to setup a mutli-agent framework using Nvidia Jetbots and a central PC.
The Jetson Nanos of the jetbots are flashed with JetPack version 4.5.0 and I am using ROS2 Galactic distro through the jetson containers provided by NVIDIA : https://github.com/dusty-nv/jetson-co...
My central PC is running on Ubuntu 20.04.04 and I installed ROS2 Galactic distro using the Debian Packages.
Both are connected to the same local network which I didn't configured so I don't have much information on it.
When I am trying to run a basic talker using ros2 run demo_nodes_cpp talker
on my JetBot and a listener on my Central PC using ros2 run demo_nodes_cpp listener
everything work fine. However when I try to see the node list for example using theros2 node list
command, the command just hangs until I stop it using Ctrl+c. I have the same problem when using the echo
command or ros2 topic list
for example.
I am really confused and don't really know what to do. I tried to search on internet but didn't find something relevant since my setup is really specific.
Please tell me if some of you have a solution to this problem I would really appreciate it.
Thanks in advance