0
$\begingroup$

Rosanswers logo

I have a vaio in wich is running an ubuntu 10.11 with ros-fuerte-ros-comm installed. And im trying to use it as a server for the roscore.

Im trying to connect a virtual machine,on another physical computer with virtualbox with ubuntu 10.11 installed on it and ros-fuerte-ros-desktop-full. I run roscore in the vaio, and it seems to work perfectly, but when i run :

rosrun turtlesim turtlesim_node from my virtual machine

I get this error:

1348840863.367236742: [registerPublisher] failed to contact master at vaio:11311

I have checked the tutorials, im able to connect each machine by ping and ssh. Virtualmachine Bridged. I have my $ROS_MASTER_URI=http://vaio:11311 I check tcpdump in the vaio and i see messages posting from the virtual machine when i try to run the turtlesim_node.

I think that is a problem with something in the vaio because i tried to connect an ASUS PAD, with some ros nodes implemented on it, in software that i have, that was already able to connect to a rosmaster on another computer in my lab (This is already tested) but wasn't able to connect it to the vaio either.

I will really appreciate any help, I have been with this three days already, im used to working on linux but i have only been working with ros for one month.

Thank you for any help!


Originally posted by agonzamart on ROS Answers with karma: 88 on 2012-09-28

Post score: 0


Original comments

Comment by ahendrix on 2012-09-28:
Do you have a firewall running on your vaio? Is the host name set up properly in DNS or your hosts file?

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Well I was able finally to connect, the two computers. Im sorry because the answer was on the ROS/EnvironmentalVariables page explanation. It seems that you have to change ROS_HOSTNAME variable to = your machine hostname in each of the networked computers you are using. Instead of the default variable localhost, which keeps others computers from being able to connect remotely to the master.

Thanks for your help!!


Originally posted by agonzamart with karma: 88 on 2012-09-29

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.