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

rqt_graph not working on ROS2 windows

asked 2020-11-17 10:35:44 -0500

Gremlin gravatar image

C:\Users\Rajat Mondal>rqt_graph RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_dashing\share\qt_gui_cpp/plugin.xml" in package "qt_gui_cpp" not found RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_dashing\share\rqt_gui_cpp/plugin.xml" in package "rqt_gui_cpp" not found RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_dashing\share\qt_gui_cpp/plugin.xml" in package "qt_gui_cpp" not found RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_dashing\share\rqt_gui_cpp/plugin.xml" in package "rqt_gui_cpp" not found "dot" with args ['-Tdot', 'C:\Users\Rajat Mondal\AppData\Local\Temp\tmpq38m2ms7'] returned code: 1

stdout, stderr: b'' b'Format: "dot" not recognized. Use one of:\r\n'

PluginHandlerDirect._restore_settings() plugin "rqt_graph/RosGraph#0" raised an exception: Traceback (most recent call last): File "C:\dev\ros2_dashing\Lib\site-packages\qt_gui\plugin_handler_direct.py", line 121, in _restore_settings self._plugin.restore_settings(plugin_settings_plugin, instance_settings_plugin) File "C:\dev\ros2_dashing\Lib\site-packages\rqt_graph\ros_graph.py", line 265, in restore_settings self._refresh_rosgraph() File "C:\dev\ros2_dashing\Lib\site-packages\rqt_graph\ros_graph.py", line 293, in _refresh_rosgraph self._update_graph_view(self._generate_dotcode()) File "C:\dev\ros2_dashing\Lib\site-packages\rqt_graph\ros_graph.py", line 328, in _generate_dotcode hide_dynamic_reconfigure=hide_dynamic_reconfigure) File "C:\dev\ros2_dashing\Lib\site-packages\rqt_graph\dotcode.py", line 905, in generate_dotcode dotcode = dotcode_factory.create_dot(dotgraph) File "C:\dev\ros2_dashing\Lib\site-packages\qt_dotgraph\pydotfactory.py", line 175, in create_dot dot = graph.create_dot() File "c:\python37\lib\site-packages\pydot.py", line 1723, in new_method format=f, prog=prog, encoding=encoding) File "c:\python37\lib\site-packages\pydot.py", line 1945, in create assert process.returncode == 0, process.returncode AssertionError: 1

"dot" with args ['-Tdot', 'C:\Users\Rajat Mondal\AppData\Local\Temp\tmp2uk90ph4'] returned code: 1

stdout, stderr: b'' b'Format: "dot" not recognized. Use one of:\r\n'

Traceback (most recent call last): File "C:\dev\ros2_dashing\Lib\site-packages\rqt_graph\ros_graph.py", line 293, in _refresh_rosgraph self._update_graph_view(self._generate_dotcode()) File "C:\dev\ros2_dashing\Lib\site-packages\rqt_graph\ros_graph.py", line 328, in _generate_dotcode hide_dynamic_reconfigure=hide_dynamic_reconfigure) File "C:\dev\ros2_dashing\Lib\site-packages\rqt_graph\dotcode.py", line 905, in generate_dotcode dotcode = dotcode_factory.create_dot(dotgraph) File "C:\dev\ros2_dashing\Lib\site-packages\qt_dotgraph\pydotfactory.py", line 175, in create_dot dot = graph.create_dot() File "c:\python37\lib\site-packages\pydot.py", line 1723, in new_method format=f, prog=prog, encoding=encoding) File "c:\python37\lib\site-packages\pydot.py", line 1945, in create assert process.returncode == 0, process.returncode AssertionError: 1

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2021-11-15 00:51:32 -0500

Hello: I tell you how I solve the problem. I install ROS 2 following this instructions: https://ms-iot.github.io/ROSOnWindows...

After that, when I need to run the rqt_graph comand I install the pydot extension writing the following comand: pip install pydot

After although the rqt_gui_cpp errors remain the rqt_graph works.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-11-17 10:35:44 -0500

Seen: 524 times

Last updated: Nov 17 '20