errror:[ERROR] [1388762076.282169241]: Skipping XML Document "/opt/ros/indigo/share/gmapping/nodelet_plugins.xml" which had no Root Element. This likely means the XML is malformed or missing.
以前包的bug现在新版本已经修复了,该提示一般不会影响其他节点使用。如果需要修复,可以找到相对应xml文件,复制到该目录即可。
这里给出一份xml文件:
nodelet_plugins.xml
<library path="lib/libslam_gmapping_nodelet">
<class name="SlamGMappingNodelet" type="SlamGMappingNodelet" base_class_type="nodelet::Nodelet">
<description>
Nodelet ROS wrapper for OpenSlam's Gmapping.
</description>
</class>
</library>
复制到指定位置:
sudo cp -R "yourfilesite"/nodelet_plugins.xml /opt/ros/indigo/share/gmapping/