rqt_graph not shown in window
Hi ,
I am new in ROS .
I am using ubuntu 12.04 LTS . ROS Hydro
I want to test the tuturial 6 about undrstanding ROS topics.
I can run the first command . but in part when I want to see the output of rosrun rqt_graph rqt_graph
in the opened window I can't see the map of rqt graph.
the opened window is empty but there are some button in it.
sara@sara:~$ rosrun rqt_graph rqt_graph
Couldn't import dot_parser, loading of dot files will not be possible.
PluginHandlerDirect._restore_settings() plugin "rqt_graph/RosGraph#0" raised an exception:
Traceback (most recent call last):
File "/opt/ros/hydro/lib/python2.7/dist-packages/qt_gui/plugin_handler_direct.py", line 116, in _restore_settings
self._plugin.restore_settings(plugin_settings_plugin, instance_settings_plugin)
File "/opt/ros/hydro/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 202, in restore_settings
self._refresh_rosgraph()
File "/opt/ros/hydro/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 226, in _refresh_rosgraph
self._update_graph_view(self._generate_dotcode())
File "/opt/ros/hydro/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 259, in _update_graph_view self._redraw_graph_view()
File "/opt/ros/hydro/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 292, in _redraw_graph_view same_label_siblings=True)
File "/opt/ros/hydro/lib/python2.7/dist-packages/qt_dotgraph/dot_to_qt.py", line 228, in dotcode_to_qt_items graph = pydot.graph_from_dot_data(dotcode.encode("ascii", "ignore"))
File "/usr/lib/pymodules/python2.7/pydot.py", line 199, in graph_from_dot_data
return dot_parser.parse_dot_data(data)
NameError: global name 'dot_parser' is not defined
What should I do ?
Thanks in advance Sarah
I also got the same problem with you. I am using Ubuntu 13.10 and ROS Hydro, installed from source a week ago.