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

duffany2's profile - activity

2018-04-20 09:44:08 -0500 received badge  Famous Question (source)
2016-02-01 14:42:35 -0500 received badge  Notable Question (source)
2015-07-17 14:08:02 -0500 received badge  Popular Question (source)
2015-05-01 03:59:54 -0500 received badge  Supporter (source)
2015-05-01 03:59:03 -0500 commented answer Networking issues with tmux

Ah, I think you are right. I'll try this tomorrow. Thanks!

2015-05-01 03:21:59 -0500 received badge  Student (source)
2015-04-30 19:17:56 -0500 asked a question Networking issues with tmux

If I run roslaunch within a tmux session on a remote machine, I get the following error when attempting to do a remote service call (i.e. rosservice call foo):

ERROR: Unable to communicate with service [/foo], address [rosrpc://remote-machine:42565]

I am running roslaunch using ssh root@$192.168.1.20 "tmux new-window 'source /opt/ros/indigo/setup.bash && roslaunch some_pkg some_launch_file.launch'" (where 192.168.1.20 is the IP of the remote-machine).

If, instead, I just run ssh root@192.168.1.20 "source /opt/ros/indigo/setup.bash && roslaunch some_pkg some_launch_file.launch" then everything works just fine, and I am able to make service calls.

Interestingly enough, in both cases I am able to list services just fine using rosservice list. But I cannot actually make service calls if roslaunch is running under tmux.

Any idea why this is happening?

2015-04-30 19:17:55 -0500 asked a question Networking issues with tmux

If I run roslaunch within a tmux session on a remote machine, I get the following error when attempting to do a remote service call (i.e. rosservice call foo):

ERROR: Unable to communicate with service [/foo], address [rosrpc://remote-machine:42565]

I am running roslaunch using ssh root@$192.168.1.20 "tmux new-window 'source /opt/ros/indigo/setup.bash && roslaunch some_pkg some_launch_file.launch'" (where 192.168.1.20 is the IP of the remote-machine).

If, instead, I just run ssh root@192.168.1.20 "source /opt/ros/indigo/setup.bash && roslaunch some_pkg some_launch_file.launch" then everything works just fine, and I am able to make service calls.

Interestingly enough, in both cases I am able to list services just fine using rosservice list. But I cannot actually make service calls if roslaunch is running under tmux.

Any idea why this is happening?