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

rqt_tf_tree error

asked 2018-05-30 03:39:12 -0500

simbha gravatar image

updated 2018-05-30 04:00:17 -0500

gvdhoorn gravatar image

Hi, I have installed the rqt_tf_tree. while running the command rosrun rqt_tf_tree rqt_tf_tree and getting the following terminal.

PluginHandlerDirect._restore_settings() plugin "rqt_tf_tree/RosTfTree#0" raised an exception:
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/qt_gui/", line 116, in _restore_settings
    self._plugin.restore_settings(plugin_settings_plugin, instance_settings_plugin)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_tf_tree/", line 129, in restore_settings
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_tf_tree/", line 138, in _refresh_tf_graph
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_tf_tree/", line 147, in _generate_dotcode
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_tf_tree/", line 97, in generate_dotcode
    self.graph = self.generate(data,
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_tf_tree/", line 137, in generate
UnboundLocalError: local variable 'root' referenced before assignment

I run with superuser also but the same error. can anybody help?

edit retag flag offensive close merge delete


I run with superuser also but the same error.

Just a note: there is no need to try running this with elevated privileges. That won't influence this sort of problem.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-30 04:00:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-30 03:59:40 -0500

simbha gravatar image

Cool!!. I have solved the issue. Actually, I was giving static transform in the launch file, which was conflicting with the exact transform. Removing the static transform from the launch file solved the issue

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-05-30 03:39:12 -0500

Seen: 2,048 times

Last updated: May 30 '18