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

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

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 image kr1zz  ( 2013-10-01 22:24:05 -0500 )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 image RB  ( 2013-10-02 00:35:45 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

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

Question Tools

1 follower

Stats

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

Seen: 203 times

Last updated: Oct 02 '13