ROS2 Talker unable to communicate with Listener

asked 2020-11-27 06:48:55 -0500

yusme gravatar image

Hi every one, I need your help to solve this problem. Installed Ubuntu 18.04 and ros2 eloquent in a laptop and a raspberry pi 4. Ros seems to be installed correctly I can ping the raspberry pi from the laptop and viceversa.

Doing ros2 multicast send from the laptop and receiving in the raspberry is successful, but the otherway from raspberry to laptop is NOT.

tried the simple example fro listener and talker and neither way the listener prints in the screen.

tried suggested fix: adding after COMMIT:

-A ufw-before-input -p igmp -d 224.0.0.0/4 -j ACCEPT

-A ufw-before-output -p igmp -d 224.0.0.0/4 -j ACCEPT

and also disabling ufw and cant understand why would the listener wont work??????? I am doing:

source /opt/ros/eloquent/setup.bash before any other command

terminal 1 display

$ ros2 run demo_nodes_cpp talker

keeps going .............

but ,terminal 2 no response.

I use Ubuntu18.04LTS

edit retag flag offensive close merge delete