ROS1 Noetic does not run rqt_graph on windows 10
I had similar problem as this question here
I installed ROS 1 noetic on windows 10 natively (no wsl2) Although I have used VS 2022, it should work as VS 2019, right?
But when I reach the tutorial "Understanding ROS Topics I get the error below and my rqt_graph shows empty:
PluginHandlerDirect._restore_settings() plugin "rqt_graph/RosGraph#0" raised an exception:
Traceback (most recent call last):
File "c:\opt\ros\noetic\x64\lib\site-packages\pydot.py", line 1914, in create
stdout_data, stderr_data, process = call_graphviz(
File "c:\opt\ros\noetic\x64\lib\site-packages\pydot.py", line 129, in call_graphviz
process = subprocess.Popen(
File "subprocess.py", line 854, in __init__
File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] Den angivne fil blev ikke fundet
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\opt\ros\noetic\x64\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:\opt\ros\noetic\x64\lib\site-packages\rqt_graph\ros_graph.py", line 260, in restore_settings
self._refresh_rosgraph()
File "c:\opt\ros\noetic\x64\lib\site-packages\rqt_graph\ros_graph.py", line 289, in _refresh_rosgraph
self._update_graph_view(self._generate_dotcode())
File "c:\opt\ros\noetic\x64\lib\site-packages\rqt_graph\ros_graph.py", line 308, in _generate_dotcode
return self.dotcode_generator.generate_dotcode(
File "c:\opt\ros\noetic\x64\lib\site-packages\rqt_graph\dotcode.py", line 914, in generate_dotcode
dotcode = dotcode_factory.create_dot(dotgraph)
File "c:\opt\ros\noetic\x64\lib\site-packages\qt_dotgraph\pydotfactory.py", line 175, in create_dot
dot = graph.create_dot()
File "c:\opt\ros\noetic\x64\lib\site-packages\pydot.py", line 1722, in new_method
return self.create(
File "c:\opt\ros\noetic\x64\lib\site-packages\pydot.py", line 1924, in create
raise OSError(*args)
FileNotFoundError: [WinError 2] "dot" not found in path.