SLAM-学习笔记(IV):配置 Gazebo 动态行人障碍
在 world 添加 actor 标签模型
使用 文本编辑器
打开 .world
文件,添加 actor
标签
<actor name="actor_walking">
<skin>
<filename>https://fuel.gazebosim.org/1.0/Mingfei/models/actor/tip/files/meshes/walk.dae</filename>
<scale>1.0</scale>
</skin>
<animation name="walk">
<filename>https://fuel.gazebosim.org/1.0/Mingfei/models/actor/tip/files/meshes/walk.dae</filename>
<interpolate_x>true</interpolate_x>
</animation>
<script>
<loop>true</loop> #在循环中重复脚本。对于流畅的连续运动,请确保最后一个航点与第一个航点匹配
<delay_start>0.000000</delay_start> #这是启动脚本之前等待的时间(以秒为单位)。如果以循环方式运行,