[ros-users] nodes working on 2 computers

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: ros-users@code.ros.org
Emne: [ros-users] nodes working on 2 computers
Hi, I am trying to make a node on one computer(computer A) with some publishers and some services and try to read the messages and call some services with another computer(computer B).

computer A(ip is 192.168.1.100) and computer B(ip is 192.168.1.101) are connected since they can ping each other

computer A also runs a roscore since it is the master

on computer A, I set the ROS_MASTER_URI at http://localhost:11311
on computer B, I set the ROS_MASTER_URI at http://192.168.1.100:11311 and the ROS_HOSTNAME at 192.168.1.101

and yet it doesn't work, I don't even receive the topics messages,

I am sure I am doing something wrong or maybe didn't configure my network properly.

Does someone happen to know how to solve the problem?

Thank you so much for your help.