New install on Fedora34, and demos not working

asked 2021-10-28 10:53:39 -0500

clueless gravatar image

updated 2021-11-01 09:29:21 -0500

osilva gravatar image

I have just done a new install from source of galactic on Fedora34 following the instructions here

I got to the step where it suggests testing the installation with "ros2 run demo_nodes_cpp talker" and "ros2 run demo_nodes_py listener" and whilst I get output from the talker, the listener stays quiet.

If I then try to stop the programs with a ctrl-c they just hang. Control appears to go into node.destroy_node() and never returns. The only way to stop them is with a kill command.

Thinking there may be a firewall problem or something, I can confirm that "ros2 multicast receive" and ros2 multicast send" works OK.

ros2 doctor just hangs, as do the turtle simulator things.

There are no clues in the system logs, and I can't find any specific logs relating to ROS. Are there any ? If so where ?

My problem is that I don't know anything about ROS and how it's supposed to work, but I can't even get to the tutorials to find out.

Can anyone give me some clues as to what wrong with this installation ?

Thanks

edit retag flag offensive close merge delete

Comments

Just to discard the hardware, how much memory and type processor are you running? It seems you are running out of memory

osilva gravatar image osilva  ( 2021-11-01 08:22:15 -0500 )edit

Also to confirm are you running ROS 2 Galactic? Based on the link I assumed so. If you performed the multicast test, why are you still thinking it may a firewall issue?

osilva gravatar image osilva  ( 2021-11-01 08:23:31 -0500 )edit

Thanks for the reply. The CPU is an Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz with 16Gb memory. I can confirm that it is ROS2 Galactic.

I don't know if it is a firewall problem. I suspect not, but in the past when other things have not worked as expected, then it's been a firewall or selinux problem.

Anyway, I have now managed to build ROS1 (Noetic) from source. That seems to work OK and I'm slowly working my way through the tutorials/examples.

clueless gravatar image clueless  ( 2021-11-01 09:20:27 -0500 )edit

Yes that's more than sufficient memory. Glad ROS1 Noetic is working for you.

osilva gravatar image osilva  ( 2021-11-01 09:28:21 -0500 )edit