ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
What solved it for me:
On the laptop, ROS_HOSTNAME
wasn't set (nothing in .bashrc
). After launching rviz on the laptop, I looked at the environmental variables again, and saw that something had set ROS_HOSTNAME=localhost
, which seems to have the effect of causing it to reject remote connections.
Solution: on the laptop, set ROS_HOSTNAME=$ROS_IP
(I added this to .bachrc
, after ROS_IP=<ip addr of laptop>
). Then remote connections are accepted.