ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Humble multi machines not communicating

asked 2023-01-12 01:08:08 -0500

zahidr gravatar image

Hi, I have a raspberry pi 4 8GB with Ubuntu mate 22.04 with humble installed and installation tested using the talker listener.

on the development machine I also have same humble with Ubuntu 22.04 installed and installation tested with talker subscriber.

SSH is working fine. visual code running remotely from development machine to raspberry pi.

Using these instruction https://roboticsbackend.com/ros2-mult... Trying to run talker and listener.

I am not getting any response.

Please let me know if there is anything I can do trouble shoot or if there is any other configuration apart from $ export ROS_DOMAIN_ID=1 $ source /opt/ros/humble /setup.bash $ ros2 run demo_nodes_cpp talker $ source /opt/ros/your_ros2_distribution/setup.bash # You can put that line into your ~/.bashrc $ ros2 run demo_nodes_cpp listener

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-01-13 15:34:50 -0500

zahidr gravatar image

I found the solution As my gateway is 192.168.0.1 so

Machine 1 $ sudo ufw allow in proto udp from 192.168.0.0/24 Machine 2 $ sudo ufw allow in proto udp from 192.168.0.0/24

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-01-12 01:08:08 -0500

Seen: 122 times

Last updated: Jan 13 '23