使用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


 

plugin.xml缺失,打開終端sudo nautilus 進到/opt/ros/kinetic/share/pr2_motor_diagnostic_tool中新建一個plugin.xml的xml

在這個plugin.xml加入根元素

<class_libraries>

</class_libraries>

 

再次運行rqt_image_view 錯誤消失