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

rqt_graph in UsingRqtconsleRoslaunch tutorial not working

asked 2015-01-08 12:26:27 -0500

aadkinz gravatar image

I'm currently in the process of going through the tutorials so I can get a better understanding of ROS.

I'm currently on tutorial 8 in the beginning tutorials

The problem I'm getting is at the last step when I use the command rqt_graph

http://wiki.ros.org/ROS/Tutorials/Usi...

At the step where I'm using the launch file to launch 2 turtles. That works fine. Afterwards i use the rostopic pub command to get the turtles to go in a circle continuously. That works fine as well. However when I use rqt_graph I get the following error

angelo@angelo-Satellite-S55t-B:~$ rqt_graph
PluginHandlerDirect._restore_settings() plugin "rqt_graph/RosGraph#0" raised an exception:
Traceback (most recent call last):
  File "/opt/ros/indigo/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/indigo/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 202, in restore_settings
    self._refresh_rosgraph()
  File "/opt/ros/indigo/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/indigo/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 259, in _update_graph_view
    self._redraw_graph_view()
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_graph/ros_graph.py", line 292, in _redraw_graph_view
    same_label_siblings=True)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/qt_dotgraph/dot_to_qt.py", line 254, in dotcode_to_qt_items
    subgraph_nodeitem = self.getNodeItemForSubgraph(subgraph, highlight_level)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/qt_dotgraph/dot_to_qt.py", line 83, in getNodeItemForSubgraph
    bb = subgraph.attr['bb'].strip('"').split(',')
KeyError: 'bb'

Is this a bug or am I doing something wrong?

Btw I'm using ROS indigo and Ubuntu 14.04

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-01-12 07:58:13 -0500

kokirits gravatar image

Try:

rosrun rqt_graph rqt_graph

with roscore and the tutorial nodes running.

edit flag offensive delete link more

Comments

Ok that worked. Thanks!

aadkinz gravatar image aadkinz  ( 2015-01-12 16:22:04 -0500 )edit

Glad I could help, please upvote and mark the answer as correct if possible. :)

kokirits gravatar image kokirits  ( 2015-01-13 03:57:18 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-01-08 12:26:27 -0500

Seen: 401 times

Last updated: Jan 12 '15