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

roslaunch error [closed]

asked 2013-06-27 23:14:04 -0500

Asfandyar Ashraf Malik gravatar image

updated 2013-11-18 19:17:10 -0500

tfoote gravatar image

I am trying to run this rosnode via command roslaunch rtklib.launch but I am constantly receiving this error

started roslaunch server http://malik:56264/

    SUMMARY
    ========

    PARAMETERS
     * /enu_to_tf/base_frame_id
     * /enu_to_tf/host
     * /enu_to_tf/port
     * /enu_to_tf/publish_tf
     * /rosdistro
     * /rosversion

    NODES
      /
        enu_to_tf (rtklib/enu_to_pose.py)
        rtkrcv (rtklib/rtkrcv)

    ROS_MASTER_URI=http://localhost:11311

    core service [/rosout] found
    process[rtkrcv-1]: started with pid [5950]
    Unknown option: __name:=rtkrcv
    Unknown option: __log:=/home/asfandyar/.ros/log/7b978eaa-dfc7-11e2-95ef-d067e53f4c7b/rtkrcv-1.log
    process[enu_to_tf-2]: started with pid [5952]
    Traceback (most recent call last):
      File "/home/asfandyar/gnss-master/rtklib/nodes/enu_to_pose.py", line 61, in <module>
        sock.connect((host, port))
      File "/usr/lib/python2.7/socket.py", line 224, in meth
        return getattr(self._sock,name)(*args)
    socket.error: [Errno 111] Connection refused
    [enu_to_tf-2] process has died [pid 5952, exit code 1, cmd /home/asfandyar/gnss-master/rtklib/nodes/enu_to_pose.py __name:=enu_to_tf __log:=/home/asfandyar/.ros/log/7b978eaa-dfc7-11e2-95ef-d067e53f4c7b/enu_to_tf-2.log].
    log file: /home/asfandyar/.ros/log/7b978eaa-dfc7-11e2-95ef-d067e53f4c7b/enu_to_tf-2*.log

Whenever I run, i do kill the running processes and always check the output for netstat -ltpn . I have checked the python code and I believe that there is no problem with it.

The output of my env| grep ROS_PACKAGE_PATH is as follows:

ROS_PACKAGE_PATH=/home/asfandyar/ros:/opt/ros/groovy/stacks:/opt/ros/groovy/share:/home/asfandyar/gnss-master

Any help would be appreciated. Btw I was able to run this roslaunch 2-3 days ago.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-09-13 15:38:03.296349

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-07-29 20:48:29 -0500

updated 2016-07-29 20:48:52 -0500

I am not sure but I guess the error is in your routine. I cannot decide without looking into your files which are "enu_to_pose.py" and "socket.py". Could you please share those files?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-27 23:14:04 -0500

Seen: 982 times

Last updated: Jul 29 '16