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

[turtle_pointer-6] process has died when running tf tutorial

asked 2012-10-07 06:19:31 -0500

Albert K gravatar image

updated 2012-10-07 06:21:23 -0500

I tried to follow the tutorial from here :

http://www.ros.org/wiki/tf/Tutorials/Introduction%20to%20tf

But there's some error and a process died. This is the full message :


roslaunch turtle_tf turtle_tf_demo.launch 
... logging to /home/albert/.ros/log/52b0e6d8-1099-11e2-aceb-5404a6dc3a5e/roslaunch-Albert-PC-11357.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://Albert-PC:50707/

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /rosversion
 * /scale_angular
 * /scale_linear
 * /turtle1_tf_broadcaster/turtle
 * /turtle2_tf_broadcaster/turtle

NODES
  /
    sim (turtlesim/turtlesim_node)
    teleop (turtlesim/turtle_teleop_key)
    turtle1_tf_broadcaster (turtle_tf/turtle_tf_broadcaster.py)
    turtle2_tf_broadcaster (turtle_tf/turtle_tf_broadcaster.py)
    turtle_pointer (turtle_tf/turtle_tf_listener.py)

auto-starting new master
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[master]: started with pid [11373]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 52b0e6d8-1099-11e2-aceb-5404a6dc3a5e
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[rosout-1]: started with pid [11386]
started core service [/rosout]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[sim-2]: started with pid [11398]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[teleop-3]: started with pid [11415]
Reading from keyboard
---------------------------
Use arrow keys to move the turtle.
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[turtle1_tf_broadcaster-4]: started with pid [11446]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[turtle2_tf_broadcaster-5]: started with pid [11447]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[turtle_pointer-6]: started with pid [11448]
Traceback (most recent call last):
  File "/opt/ros/fuerte/stacks/geometry_tutorials/turtle_tf/nodes/turtle_tf_listener.py", line 57, in <module>
    (trans,rot) = listener.lookupTransform('/turtle2', '/turtle1', rospy.Time())
tf.ExtrapolationException: Lookup would require extrapolation at time 1349626149.653091908, but only time 1349626149.653103113 is in the buffer, when looking up transform from frame [/turtle1] to frame [/turtle2]
[WARN] [WallTime: 1349626149.680432] Inbound TCP/IP connection failed: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details.
[turtle_pointer-6] process has died [pid 11448, exit code 1, cmd /opt/ros/fuerte/stacks/geometry_tutorials/turtle_tf/nodes/turtle_tf_listener.py __name:=turtle_pointer __log:=/home/albert/.ros/log/52b0e6d8-1099-11e2-aceb-5404a6dc3a5e/turtle_pointer-6.log].
log file: /home/albert/.ros/log/52b0e6d8-1099-11e2-aceb-5404a6dc3a5e/turtle_pointer-6*.log

How to solve this problem? Thanks~

edit retag flag offensive close merge delete

7 Answers

Sort by ยป oldest newest most voted
12

answered 2012-11-20 21:53:01 -0500

sbragagnolo gravatar image

There's probably a configuration problem. In any case, in order to follow with the tutorial, you can spawn the process that dies by hand:

rosrun turtle_tf turtle_tf_listener

Despite the aparition of the bizzarre 3rd turtle in the corner, the working nodes still being 3 :).

edit flag offensive delete link more

Comments

3

Interestingly, I just got the bizzare corner turtle, this didn't spawn the 2nd needed follower turtle.

ERROR] [1620796305.295081927]: "turtle2" passed to lookupTransform argument target_frame does not exist.

This is the error that I seem to get.

jeanbuntu gravatar image jeanbuntu  ( 2021-05-12 00:10:26 -0500 )edit

yep, that is what I am getting to this day-stationary corner turtle, but not the needed follower turtle

Fanon gravatar image Fanon  ( 2023-03-18 16:02:35 -0500 )edit
2

answered 2013-03-12 11:32:48 -0500

Rodrigo Serviuc Pavezi gravatar image

I had the same issue which I solved by running "rosmake turtle_tf rviz".

Ps. I skipped this command when going through the tutorial because I thought it was already installed and configured as the "rosdep install turtle_tf rviz" command returns the following message "#All required rosdeps installed successfully".

edit flag offensive delete link more
1

answered 2013-04-07 13:56:43 -0500

bombilee gravatar image

updated 2013-04-08 13:54:34 -0500

I tried everything only adding Exceptions works for me.
Here is the original post.
http://answers.ros.org/question/30784/tf-tutorial-warning-message/

edit flag offensive delete link more
0

answered 2014-12-01 06:11:58 -0500

pablocesar gravatar image

If you are running ROS in a virtual machine then just restart the terminal, probably some process from the installation of the package still running and are using that place of memory that the launched file is trying to point to, so just restart the terminal and the problem will be gone :)

edit flag offensive delete link more
0

answered 2021-06-14 16:37:20 -0500

islemhm gravatar image

updated 2021-06-14 16:37:43 -0500

I had this problem. and i solved it by changing the python version from 3 to 2

edit flag offensive delete link more
0

answered 2021-02-26 08:02:23 -0500

I've also met the same problem when i use the version of noetic. But the cause for the problem may be different. In my situation, the mainly problem is the version of python. When I change the default version of python from 2 to 3, the problem was solved.

edit flag offensive delete link more

Comments

And how does one find out which version they are using? And how do we change it?

jeanbuntu gravatar image jeanbuntu  ( 2021-05-12 00:14:39 -0500 )edit
0

answered 2014-12-04 08:34:36 -0500

Eyal gravatar image

I had this problem. What solved it was running: source devel/setup.bash (from my catkin workspace).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-07 06:19:31 -0500

Seen: 13,438 times

Last updated: Jun 14 '21