Skip to content

Instantly share code, notes, and snippets.

@iche033
Created February 21, 2024 21:54
Show Gist options
  • Save iche033/d13a8d8e0c05308f98ce1e5e105500ce to your computer and use it in GitHub Desktop.
Save iche033/d13a8d8e0c05308f98ce1e5e105500ce to your computer and use it in GitHub Desktop.
box mesh model.sdf
<?xml version="1.0" encoding="UTF-8"?>
<sdf version="1.6">
<model name="box">
<pose>0 0 0 0 0 0</pose>
<link name="base_link">
<inertial>
<mass>0.1</mass>
<inertia>
<pose>0.0 0 0 0 0 0</pose>
<ixx>0.001</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>0.001</iyy>
<iyz>0</iyz>
<izz>0.001</izz>
</inertia>
</inertial>
<visual name="visual">
<pose>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<uri>box.obj</uri>
</mesh>
</geometry>
<material>
<diffuse>0.5 0.5 0.5</diffuse>
</material>
</visual>
<collision name="collision">
<pose>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<uri>box.obj</uri>
</mesh>
</geometry>
</collision>
</link>
</model>
</sdf>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment