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

Revision history [back]

click to hide/show revision 1
initial version

Have you set ROS_IP on both hosts?

Have you set ROS_IP on both hosts?


Edit:

Should i set the ROS_IP on both Master and Client ?

Unless you have a working DNS setup for both: yes.

Note: if you have DHCP configured, adding the (current) IP addresses to /etc/hosts is not sufficient, as the IPs may change in the future / on reboot. If you have DHCP, make sure to have proper DNS as well (ie: updated by your DHCP server).

And just making sure: have you checked the ROS/NetworkSetup guide?


Edit2:

On the robot instead of export ROS_IP=192.168.86.165, it was export ROS_IP=localhost

I would be very much surprised if that works. It could work now, but I guarantee you that you'll get in trouble later.

Have you set ROS_IP on both hosts?


Edit:

Should i set the ROS_IP on both Master and Client ?

Unless you have a working DNS setup for both: yes.

Note: if you have DHCP configured, adding the (current) IP addresses to /etc/hosts is not sufficient, as the IPs may change in the future / on reboot. If you have DHCP, make sure to have proper DNS as well (ie: updated by your DHCP server).

And just making sure: have you checked the ROS/NetworkSetup guide?


Edit2:

On the robot instead of export ROS_IP=192.168.86.165, it was export ROS_IP=localhost

I would be very much surprised if that works. It could work now, but I guarantee you that you'll get in trouble later.