Communication between two machines with differents networks [closed]

asked 2022-02-24 08:57:14 -0500

sabrinaacardoso gravatar image

Hey guys. First of all, sorry about the english.

I have a communication problem between two machines that are on different networks. So I have my PC connected to one router and a Raspberry Pi connected to another router.

PC = 192.168.1.101 Raspberry = 198.168.0.100

In this scenario, Rasp will be our Master.

So, i can see the topics list on both PC and Raspberry. So, when I publish from Rasp, my PC can hear it, however, when I publish from the PC, my Raspberry cannot hear it.

The ROS_MASTER_URI and ROS_IP are configured correctly. How do I solve this problem?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sabrinaacardoso
close date 2022-03-18 08:06:14.161547

Comments

1

Did you check if your PC Firewall is blocking the msgs?

sudo ufw disable
Teo Cardoso gravatar image Teo Cardoso  ( 2022-02-24 12:07:18 -0500 )edit

Yes, there is no firewall blocking it

sabrinaacardoso gravatar image sabrinaacardoso  ( 2022-02-25 08:07:35 -0500 )edit

probably a routing problem can you ping from the pc to the raspberry ?

vKuehn gravatar image vKuehn  ( 2022-02-26 16:02:31 -0500 )edit

The intention is not to be all on the same router. The PC and Raspberry are located on different routers that are connected to each other,

sabrinaacardoso gravatar image sabrinaacardoso  ( 2022-03-03 05:49:09 -0500 )edit