Skip to content

Instantly share code, notes, and snippets.

@erwincoumans
Created October 28, 2017 02:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erwincoumans/6e98f5ef6186f883933a41e3e2c84104 to your computer and use it in GitHub Desktop.
Save erwincoumans/6e98f5ef6186f883933a41e3e2c84104 to your computer and use it in GitHub Desktop.
pybullet URDF example of a static concave triangle mesh (non-moving)
<?xml version="1.0" ?>
<robot name="ground">
<link name="ground">
<visual>
<geometry>
<mesh filename="ground.obj" scale="2 2 0.1" />
</geometry>
<material name="white">
<color rgba="1 1 1 1"/>
</material>
</visual>
<collision concave="yes">
<geometry>
<mesh filename="ground.obj" scale="2 2 0.1" />
</geometry>
</collision>
<inertial>
<mass value="0.0" />
<inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1" />
</inertial>
<contact>
<lateral_friction value="1.0" />
<rolling_friction value="0.0" />
</contact>
</link>
</robot>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment