1001101_Q 2022-05-08 11:37 采纳率: 92%
浏览 38
已结题

xml文件看看哪里错了

代码如下,清看看哪里出错了
报错:


Error [parser.cc:340] Error parsing XML in file [/home/milk/velodyne_plugin/build/../velodyne.world]: Error reading end tag.



<?xml version="1.0" ?>
<sdf version="1.5">
  <world name="default">
    <!-- A global light source -->
    <include>
      <uri>model://sun</uri>
    </include>
    <!-- A ground plane -->
    <include>
      <uri>model://ground_plane</uri>
    </include>

    <!-- A testing model that includes the Velodyne sensor model -->
    <model name="my_velodyne">

      <include>
        <uri>model://velodyne_hdl32</uri>
      </include>

      <!-- Attach the plugin to this model -->
      <plugin name="velodyne_control" filename="./libvelodyne_plugin.so"/>
      <velocity>25</velocity>
      </plugin>

    </model>

  </world>
</sdf>
  • 写回答

1条回答 默认 最新

  • 吕布辕门 新星创作者: 后端开发技术领域 2022-05-08 11:56
    关注

    如有帮助,请采纳一下,谢谢!如有不清楚可以在问额。
    这里写错了。

    img

    
     <!-- Attach the plugin to this model -->
          <plugin name="velodyne_control" filename="./libvelodyne_plugin.so">
          <velocity>25</velocity>
          </plugin>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 5月19日
  • 已采纳回答 5月11日
  • 创建了问题 5月8日