ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

usarsim.launch file Is there any error?

asked 2013-10-01 04:06:38 -0500

RB gravatar image

updated 2013-10-01 04:13:41 -0500


param name="usarsim/robotType" value="P3AT"

param name="usarsim/hostname" value="localhost"

param name="usarsim/port" value="3000" param name="usarsim/startPosition" value="Vehicle1"

param name="usarsim/odomSensor" value="InsTest"

node name="RosSim" pkg="usarsim_inf" type="usarsim_node"


I have intentionally left <> brackets here. Otherwise lines are not visible in the question.

edit retag flag offensive close merge delete


Dear Brian, although I am pretty sure what the answer is, can you edit your question and post the error message you receive, to make the question useful for other people too, please?

kr1zz gravatar image kr1zz  ( 2013-10-01 22:24:05 -0500 )edit Hi kr1zz; I have already asked the question giving full error details in the above link

RB gravatar image RB  ( 2013-10-02 00:35:45 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-02 01:57:49 -0500

Let me quote your question:

I have USARSim running on windows7 on a desktop and P3AT is loaded using Iridium. In my laptop I have ROS installed and through a LAN wire I try to connect to both machines. I type follow commands in my laptop which are given below:

  1. roscore

  2. roslaunch usarsim_inf usarsim.launch

[ERROR] [1380608092.814131851]: can't open socket to localhost port 3000

Then you are trying to connect to localhost, whereas you should try to connect to the computer running windows 7 and USARSim.

Solution: replace the string localhost on the second line with the IP address (or the name) of the computer where USARSim is running

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-10-01 04:06:38 -0500

Seen: 182 times

Last updated: Oct 02 '13