ROS2 Eloquent(Binary Install Windows) Turtlesim Missing Qt platform plugin

asked 2020-02-05 09:19:35 -0500

marreb gravatar image

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

edit retag flag offensive close merge delete

Comments

I had to install QT to get it to work for me.

billy gravatar image billy  ( 2020-02-05 10:04:34 -0500 )edit

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?

marreb gravatar image marreb  ( 2020-02-06 07:38:47 -0500 )edit

Oh yes. Same issue for me. Installing QT fixed issue with the turtlebot simulation, but I get same errors trying to run RQT.

billy gravatar image billy  ( 2020-02-07 01:46:02 -0500 )edit

Hi marreb and billy, I'm having the same problems. Were you able to find a solution to this?

Vuro H gravatar image Vuro H  ( 2020-03-26 14:17:34 -0500 )edit
1

I fixed RQT_graph somewhat by:

  1. Install windows package from: https://graphviz.gitlab.io/_pages/Dow...
  2. Install python graphviz package
  3. Add C:\Program Files (x86)\Graphviz2.38\bin to User path 4 Add C:\Program Files (x86)\Graphviz2.38\bin\dot.exe to System Path

However, rqt_graph works poorly and crashes uncontrollably. But you get to visualize your nodes/topics for a limited time =)

marreb gravatar image marreb  ( 2020-03-27 06:37:51 -0500 )edit

Hi guys, have you ever solved this issue about the RosPluginProvider in RQT?

songyuc gravatar image songyuc  ( 2020-04-24 02:07:19 -0500 )edit
1

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.

marreb gravatar image marreb  ( 2020-04-24 04:37:18 -0500 )edit

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.

songyuc gravatar image songyuc  ( 2020-04-24 05:47:26 -0500 )edit