Humble multi machines not communicating
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-multiple-machines-including-raspberry-pi/ 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 ROSDOMAINID=1 $ source /opt/ros/humble /setup.bash $ ros2 run demonodescpp talker $ source /opt/ros/yourros2distribution/setup.bash # You can put that line into your ~/.bashrc $ ros2 run demonodescpp listener
Asked by zahidr on 2023-01-12 02:08:08 UTC
Answers
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
Asked by zahidr on 2023-01-13 16:34:50 UTC
Comments