ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How does roslaunch determine a remote node's hostname? Can it be overridden?

asked 2013-02-24 14:03:46 -0500

I've come across a hostname problem in the process of trying to set up the launch of a remote node in a pair of computers using mdns.

It appears that the uri of the remote node at some point is re-synthesized by asking the remote node its hostname instead of using the original address from the machine tag in the launch file.

The reason I believe this is that I'm able to create a roslaunch with a machine tag that successfully creates the ssh connection to let's say foo.local but then when it connects it complains about not being able to connect to contact it's own server http://foo:5xxxx implying that it's ignoring the original hostname foo.local and perhaps has used the machine's own idea of what it's host name is to connect.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-02-24 14:05:36 -0500

I couldn't figure out how it was synthesizing the host name but I found a work around in using the <env> tags inside the <machine> tag to set ROS_HOSTNAME on the remote machine.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-24 14:03:46 -0500

Seen: 390 times

Last updated: Feb 24 '13