Ask Your Question
1

usarsim.launch file Is there any error?

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

RB gravatar image

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

launch

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"

launch

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

edit retag flag offensive close merge delete

Comments

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 imagekr1zz ( 2013-10-01 22:24:05 -0600 )edit

http://answers.ros.org/question/85311/unable-to-connect-usarsim-enviroment-from-ros/ Hi kr1zz; I have already asked the question giving full error details in the above link

RB gravatar imageRB ( 2013-10-02 00:35:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

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

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

Stats

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

Seen: 119 times

Last updated: Oct 02 '13