Rosnode ping rosout does not work on remote machine
Hello list,
I have a regular PC and an embedded ARM board, both with ubuntu 14.04 on indigo, no firewalls. PC 1 has 2 network cards, one for internet access and one for a local net (via router with wifi). On PC one I start roscore, and tell the other (behind the router) were to find this master. On the remote machine:
rosnode list : works
rostopic list: works
rosnode ping rosout: error:
rosnode: node is [/rosout]
ERROR: Unknown host [fwn04-nb4-16-202] for node [/rosout]
If I start some rosnodes on the remote machine they seem to work, but I CANNOT echo a topic on that remote machine. I justs keeps waiting on the topic. However on the master i CAN echo that topic from the remote machine.
Pinging and netcat tests work from both sides, I have set ROS_IP on both machines and also set the name/address in /etc/hosts
I set the master uri to
ROS_MASTER_URI=http://129.125.16.202:11311
and this can be resolved on the remote machine both by /etc/hosts AND dns to
fwn-nb4-16-202.phys.rug.nl
Is there anything that I am forgetting?
Regards, Sietse
PS. If I do the same between PC one and another regular PC that is also on the phys.rug.nl net, everything works....
Edit: I notice something else. If I do not set a remote master, the environment gives me:
ROS_MASTER_URI=http://localhost:11311
And roscore then says:
ROS_MASTER_URI=http://fwn-nb4-48-148:11311/
Note that the domainname (which is fwn.rug.nl) is missing. This still could be ok.
But I find is suspisious that when, on a remote PC, I do "rosnode info rosout" It says:
ERROR: Communication with node[http://fwn-nb4-48-148:46685/] failed!
And now the lack of the domainname is indeed an error.
Is there an error here somewhere?
@Sietse: please don't use answers to post updates. I've merged your update into your original question, but please keep it in mind for future questions. Please use the edit link/button.