This commit is contained in:
Quella777
2025-08-25 16:30:02 +08:00
commit 32cc2a8e96
1633 changed files with 289456 additions and 0 deletions

17
metal_peg/model.config Normal file
View File

@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<model>
<name>Metal Peg</name>
<version>1.0</version>
<sdf version='1.5'>model.sdf</sdf>
<author>
<name>Jackie Kay</name>
<email>jackie@osrfoundation.org</email>
</author>
<description>
An 6cm high metal peg.
</description>
</model>

60
metal_peg/model.rsdf Normal file
View File

@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<%
# SI units (length in meters)
# Geometry
# Height
h = 0.062
# diameter
d = 0.0066
r = d/2.0
# Inertia
mass = 0.0121
ixx = mass/12.0 * (3*r**2 + h**2 )
iyy = mass/12.0 * (3*r**2 + h**2 )
izz = mass/2.0 * r**2
%>
<sdf version="1.5">
<model name="metal_peg">
<link name="link">
<pose>0 0 <%= h/2 %> 0 0 0</pose>
<inertial>
<mass><%= mass %></mass>
<inertia>
<ixx><%= ixx %></ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy><%= iyy %></iyy>
<iyz>0</iyz>
<izz><%= izz %></izz>
</inertia>
</inertial>
<collision name="collision">
<geometry>
<cylinder>
<radius> <%= r %> </radius>
<length> <%= h %> </length>
</cylinder>
</geometry>
</collision>
<visual name="visual">
<geometry>
<cylinder>
<radius> <%= r %> </radius>
<length> <%= h %> </length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Chrome</name>
</script>
</material>
</visual>
</link>
</model>
</sdf>

64
metal_peg/model.sdf Normal file
View File

@@ -0,0 +1,64 @@
<?xml version="1.0" ?>
<sdf version="1.5">
<model name="metal_peg">
<link name="link">
<pose>0 0 0.031 0 0 0</pose>
<inertial>
<mass>0.0121</mass>
<inertia>
<ixx>3.908975583333333e-06</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>3.908975583333333e-06</iyy>
<iyz>0</iyz>
<izz>6.58845e-08</izz>
</inertia>
</inertial>
<collision name="collision">
<geometry>
<cylinder>
<radius> 0.0033 </radius>
<length> 0.062 </length>
</cylinder>
</geometry>
<surface>
<contact>
<!-- stainless steel 18-8 material properties -->
<poissons_ratio>0.305</poissons_ratio>
<elastic_modulus>2.0e+11</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>
<cylinder>
<radius> 0.0033 </radius>
<length> 0.062 </length>
</cylinder>
</geometry>
<material>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
</material>
</visual>
</link>
</model>
</sdf>