当前位置:网站首页>Gazebo import the mapping model created by blender

Gazebo import the mapping model created by blender

2022-07-07 22:27:00 Lift the cement together

1. Use blender Creating models

 Insert picture description here

2. Export model as .dae Format

 Insert picture description here

3. In the specified folder, it will export .dae Format model and map , Then move the model folder to ~./gazebo/models Under the folder , Then create it under the folder model.sdf as well as model.config file

<?xml version='1.0'?>
<sdf version="1.6">
<model name="mountain">
  <static>true</static>
    <link name="link">
      <visual name="visual">
        <geometry>
          <mesh>
            <uri>model://mountain/meshes/mountain-lowres.dae</uri>
          </mesh>
        </geometry>
      </visual>
    </link>
  </model>
</sdf>
<?xml version="1.0"?>

<model>
  <name>mountain</name>
  <version>1.0</version>
  <sdf version='1.6'>model.sdf</sdf>

  <author>
    <name>ZYQ</name>
    <email>[email protected]</email>
  </author>

  <description>
    A Model.
  </description>
</model>

4. open gazebo You can insert the created model

原网站

版权声明
本文为[Lift the cement together]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130605394418.html