1. 程式人生 > >除錯kinect V1出現” Skipping XML Document "/opt/ros/indigo/share/gmapping/nodelet_plugins.xml" ..“問題的解決方法

除錯kinect V1出現” Skipping XML Document "/opt/ros/indigo/share/gmapping/nodelet_plugins.xml" ..“問題的解決方法

 本人使用的是Ubuntu14.04+indigo版本,在除錯kinect V1攝像頭時,使用命令“roslaunch openni_launch openni.launch”出現" 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."這種情況,之後按照出錯的路徑:

/opt/ros/indigo/share/gampping,修改pacjage.xml檔案,

刪除:

<export>

  <nodelet plugin="${prefix}/nodelet_plugins.xml" />

  </export>

即可。