Error tf view_frames [closed]
Error happened when I tried to 'rosrun tf view_frames'
Traceback (most recent call last):
File "/opt/ros/fuerte/stacks/geometry/tf/scripts/view_frames", line 55, in <module>
from tf.srv import *
ImportError: No module named tf.srv
Anyone know how to solve this?
Output of roscd tf;ls -l . src src/tf src/tf/srv
total 108
drwxr-xr-x 2 root root 4096 Sep 3 14:02 bin
-rw-r--r-- 1 root root 683 Aug 11 2012 catkin.cmake
-rw-r--r-- 1 root root 4631 Aug 11 2012 CMakeLists.txt
-rw-r--r-- 1 root root 6736 Aug 11 2012 conf.py
-rw-r--r-- 1 root root 1312 May 3 04:25 conf.pyc
drwxr-xr-x 2 root root 4096 Sep 3 14:02 doc
drwxr-xr-x 3 root root 4096 Sep 3 14:02 include
-rw-r--r-- 1 root root 145 Aug 11 2012 index.rst
drwxr-xr-x 2 root root 4096 Sep 3 14:02 lib
-rw-r--r-- 1 root root 2173 Aug 11 2012 mainpage.dox
-rw-r--r-- 1 root root 42 Aug 11 2012 Makefile
-rw-r--r-- 1 root root 1392 Aug 11 2012 manifest.xml
drwxr-xr-x 2 root root 4096 Sep 3 14:02 msg
drwxr-xr-x 4 root root 4096 Sep 3 14:02 msg_gen
-rw-r--r-- 1 root root 232 Aug 11 2012 remap_tf.launch
-rw-r--r-- 1 root root 187 Aug 11 2012 rosdoc.yaml
-rw-r--r-- 1 root root 39 May 3 04:25 ROS_NOBUILD
drwxr-xr-x 2 root root 4096 Sep 3 14:02 scripts
drwxr-xr-x 3 root root 4096 Sep 3 14:02 src
drwxr-xr-x 2 root root 4096 Sep 3 14:02 srv
drwxr-xr-x 4 root root 4096 Sep 3 14:02 srv_gen
drwxr-xr-x 2 root root 4096 Sep 3 14:02 test
-rw-r--r-- 1 root root 12048 Aug 11 2012 tf_python.rst
src:
total 148
-rw-r--r-- 1 root root 8060 Aug 11 2012 cache.cpp
-rw-r--r-- 1 root root 8826 Aug 11 2012 change_notifier.cpp
-rw-r--r-- 1 root root 506 Aug 11 2012 empty_listener.cpp
-rw-r--r-- 1 root root 17670 Aug 11 2012 pytf.cpp
-rw-r--r-- 1 root root 5060 Aug 11 2012 static_transform_publisher.cpp
drwxr-xr-x 4 root root 4096 Sep 3 14:02 tf
-rw-r--r-- 1 root root 49488 Aug 11 2012 tf.cpp
-rw-r--r-- 1 root root 4179 Aug 11 2012 tf_echo.cpp
-rw-r--r-- 1 root root 10440 Aug 11 2012 tf_monitor.cpp
-rw-r--r-- 1 root root 3293 Aug 11 2012 transform_broadcaster.cpp
-rw-r--r-- 1 root root 12627 Aug 11 2012 transform_listener.cpp
src/tf:
total 188
-rw-r--r-- 1 root root 3144 Aug 11 2012 broadcaster.py
-rw-r--r-- 1 root root 2446 May 3 04:25 broadcaster.pyc
-rw-r--r-- 1 root root 1700 Aug 11 2012 __init__.py
-rw-r--r-- 1 root root 400 May 3 04:25 __init__.pyc
-rw-r--r-- 1 root root 12128 Aug 11 2012 listener.py
-rw-r--r-- 1 root root 11926 May 3 04:25 listener.pyc
drwxr-xr-x 2 root root 4096 Sep 3 14:02 msg
drwxr-xr-x 2 root root 4096 Sep 3 14:02 srv
-rw-r--r-- 1 root root 6304 Aug 11 2012 tfwtf.py
-rw-r--r-- 1 root ...
You have some other questions with problems in the tf package. What happens when you run `roscd tf;ls -l . src src/tf src/tf/srv` ? Also, `roscd tf;pwd`
Post updated.
I'd say that this is a sympton of the same problem in your other question. Can you merge this information with the other one and close this?