Files
gazebo_models/cricket_ball/model.sdf

71 lines
1.8 KiB
Plaintext
Raw Normal View History

2025-08-25 16:30:02 +08:00
<?xml version="1.0" ?>
<sdf version="1.5">
<model name="cricket_ball">
<link name="link">
<pose>0 0 0.0375 0 0 0</pose>
<inertial>
<mass>0.1467</mass>
<inertia>
<ixx>8.251875e-05</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>8.251875e-05</iyy>
<iyz>0</iyz>
<izz>8.251875e-05</izz>
</inertia>
</inertial>
<collision name="collision">
<geometry>
<sphere>
<radius>0.0375</radius>
</sphere>
</geometry>
<surface>
<contact>
<!-- Red Pine coefficients for longitudinal axis of the wood
according to:
http://www.fpl.fs.fed.us/documnts/fplgtr/fplgtr113/ch04.pdf -->
<poissons_ratio>0.347</poissons_ratio>
<elastic_modulus>8.8e+09</elastic_modulus>
<ode>
<kp>100000</kp>
<kd>100</kd>
<max_vel>100.0</max_vel>
<min_depth>0.001</min_depth>
</ode>
</contact>
<friction>
<torsional>
<coefficient>1.0</coefficient>
<use_patch_radius>0</use_patch_radius>
<surface_radius>0.01</surface_radius>
</torsional>
</friction>
</surface>
</collision>
<visual name="visual">
<geometry>
<sphere>
<radius>0.0375</radius>
</sphere>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Red</name>
</script>
</material>
</visual>
<!-- approximate rolling friction -->
<velocity_decay>
<linear>0.00</linear>
<angular>0.005</angular>
</velocity_decay>
</link>
</model>
</sdf>