Connection over two Galileo Boards
Hello,
I am trying to communicate between two Galileo boards that have ROS running on it. Important information: 1. Both boards have exactly the same image, with the exact same folder. I have run the publisher in one only board and it was working perfectly. 2. I can ping and ssh both boards, but both boards have the same hostname an different IP adresses.
My procedure: 1. I ssh one of the image by doing ssh Clanton@IP1 2. I launch a node (and automatically roscore is then run). When I do that it appears: process[master]:started with pid [1825] ROS_MASTER_URI=http://localhost:11311 So I know I am running the master properly in this Galileo board.
I export ROS_MASTER_URI=http://localhost:11311
I shh on the other galileo board by using ssh Clanton@IP2
- I export ROS_MASTER_URI=http:localhost:11311
- I run the subcriber.
I do not know why I am having this problem. I know the connection between the boards by the local network should be fine. I know I am running the master in the appropiate galileo board I know that if I run the subcriber in the same Galileo board as the publisher there is no problem to recieve the message
So my guess is that: 1. They can't have the same name. 2. The time in each of then is different
Could any of you help me debug this problem please?
Thank you very much,
Mercedes.