ROS2 Eloquent(Binary Install Windows) Turtlesim Missing Qt platform plugin
I have installed ROS2 Eloquent from the pre-built binary package on Windows 10 v1809. I followed the guide https://index.ros.org/doc/ros2/Instal....
The Talker/Listener example works, however when using:
call C:\dev\ros2_eloquent\local_setup.bat
the program yields 2 warnings:
C:\WINDOWS\system32>call C:\dev\ros2_eloquent\local_setup1.bat
[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[C:\Program Files\rti_connext_dds-5.3.1]] does not point to a valid directory, and the NDDSHOME environment variable has not been set. Support for Connext will not be available.
[opensplice_cmake_module] Warning: The location at which OpenSplice was found when the workspace was built [[C:\dev\opensplice\HDE\x86_64.win64\]] does not point to a valid directory, and the OSPL_HOME environment variable has not been set. Support for OpenSplice will not be available.
Trying out the tutorial https://index.ros.org/doc/ros2/Tutori... and using the turtlesim command:
C:\WINDOWS\system32>ros2 run turtlesim turtlesim_node
This application failed to start because it could not find or load the Qt platform plugin "windows" in "". Reinstalling the application may fix this problem.
Found a thread with the same problem, but this solution seems to fix the problem when installing from source and hence installing QT, which is not needed for the binary install? https://answers.ros.org/question/3392...
Finally, trying the "rqt" command from the same tutorial yields:
RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_eloquent\share\qt_gui_cpp/plugin.xml" in package "qt_gui_cpp" not found
RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_eloquent\share\rqt_gui_cpp/plugin.xml" in package "rqt_gui_cpp" not found
RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_eloquent\share\qt_gui_cpp/plugin.xml" in package "qt_gui_cpp" not found
RosPluginProvider._parse_plugin_xml() plugin file "C:\dev\ros2_eloquent\share\rqt_gui_cpp/plugin.xml" in package "rqt_gui_cpp" not found
I have extra checked the PATH variables from the guide and also added "C:\Python37\Lib\site-packages\PyQt5\Qt\plugins\platforms", but no success.
Any solution to this? Do I need to install QT even though it's not in the guide? Thankful for answers. /M
I had to install QT to get it to work for me.
Thanks billy, I was able to run turtlesim by doing that. However, when trying to run the commands where visuals are needed, I think the original problem remains. For example rqt, rqt_graph, rqt_console. Any succes with those?
Oh yes. Same issue for me. Installing QT fixed issue with the turtlebot simulation, but I get same errors trying to run RQT.
Hi marreb and billy, I'm having the same problems. Were you able to find a solution to this?
I fixed RQT_graph somewhat by:
However, rqt_graph works poorly and crashes uncontrollably. But you get to visualize your nodes/topics for a limited time =)
Hi guys, have you ever solved this issue about the RosPluginProvider in RQT?
Hi @songyuc, I switched installation method to http://wiki.ros.org/Installation/Windows.
Some fixes to that install can be seen here: https://answers.ros.org/question/3478...
However, you can run rqt with with binary install if you do the fixes in earlier comments, ignore the RosPluginProvider errors.
Hi @marreb, I think this issue may be relevant to the Graphviz, and I installed the Graphviz based on your previous solution. Then the errors about the Graphviz disappear.