使用ros的rqt_image_view报This likely means the XML is malformed or missing.

[ERROR] [1559100489.617899170]: Skipped loading plugin with error: XML Document '/opt/ros/kinetic/share/pr2_motor_diagnostic_tool/plugin.xml' has no Root Element. This likely means the XML is malformed or missing..
RosPluginProvider._parse_plugin_xml() plugin file "/opt/ros/kinetic/share/pr2_motor_diagnostic_tool/plugin.xml" in package "pr2_motor_diagnostic_tool" not found
RosPluginProvider._parse_plugin_xml() plugin file "/opt/ros/kinetic/share/pr2_motor_diagnostic_tool/plugin.xml" in package "pr2_motor_diagnostic_tool" not found


使用ros的rqt_image_view报This likely means the XML is malformed or missing.

 

plugin.xml缺失,打开终端sudo nautilus 进到/opt/ros/kinetic/share/pr2_motor_diagnostic_tool中新建一个plugin.xml的xml
使用ros的rqt_image_view报This likely means the XML is malformed or missing.

在这个plugin.xml加入根元素

<class_libraries>

</class_libraries>

使用ros的rqt_image_view报This likely means the XML is malformed or missing.

 

再次运行rqt_image_view 错误消失

使用ros的rqt_image_view报This likely means the XML is malformed or missing.