ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In a nutshell, it looks like secondary
cannot talk back to the roslaunch server on primary
.
Try setting ROS_HOSTNAME=172.16.2.159
on primary
so that, when it spawns the roslaunch server, it does so with an externally accessible address (I assume you are running this launch file from primary
). According to that output, it is being spawned on localhost
which is obviously different for each machine (the first line started roslaunch server http://localhost:39646/
tells you what address the roslaunch server is listening on)
2 | No.2 Revision |
In a nutshell, it looks like secondary
cannot talk back to the roslaunch server on primary
.
Try setting ROS_HOSTNAME=172.16.2.159
on primary
so that, when it spawns the roslaunch server, it does so with an externally accessible address (I assume you are running this launch file from primary
). According to that output, it is being spawned on localhost
which is obviously different for each machine (the first line started roslaunch server http://localhost:39646/
tells you what address the roslaunch server is listening on)on).