init
This commit is contained in:
16
wood_block_10_2_1cm/model.config
Normal file
16
wood_block_10_2_1cm/model.config
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<model>
|
||||
<name>Wood block 10 x 2.5 x 1 cm</name>
|
||||
<version>1.0</version>
|
||||
<sdf version='1.5'>model.sdf</sdf>
|
||||
|
||||
<author>
|
||||
<name>Nate Koenig</name>
|
||||
<email>nate@osrfoundation.org</email>
|
||||
</author>
|
||||
|
||||
<description>
|
||||
A 10 x 2.5 x 1 cm wooden block.
|
||||
</description>
|
||||
</model>
|
69
wood_block_10_2_1cm/model.rsdf
Normal file
69
wood_block_10_2_1cm/model.rsdf
Normal file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" ?>
|
||||
<%
|
||||
# Wood block with dimensions 10 x 2.5 x 1 cm
|
||||
# SI units (length in meters)
|
||||
|
||||
# Geometry
|
||||
dx = 0.1
|
||||
dy = 0.025
|
||||
dz = 0.01
|
||||
|
||||
# Material
|
||||
# Assume soft wood with density of 500 kg / m^3
|
||||
density = 500
|
||||
|
||||
# Inertia
|
||||
mass = density * dx * dy * dz
|
||||
ixx = mass/12.0 * (dy**2 + dz**2)
|
||||
iyy = mass/12.0 * (dz**2 + dx**2)
|
||||
izz = mass/12.0 * (dx**2 + dy**2)
|
||||
%>
|
||||
<sdf version="1.5">
|
||||
<model name="wood_block_10_2_1cm">
|
||||
<link name="link">
|
||||
<pose>0 0 <%= dz/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>
|
||||
<box>
|
||||
<size><%= dx %> <%= dy %> <%= dz %></size>
|
||||
</box>
|
||||
</geometry>
|
||||
<surface>
|
||||
<contact>
|
||||
<ode>
|
||||
<max_vel>0.1</max_vel>
|
||||
<min_depth>0.001</min_depth>
|
||||
</ode>
|
||||
</contact>
|
||||
</surface>
|
||||
</collision>
|
||||
|
||||
<visual name="visual">
|
||||
<geometry>
|
||||
<box>
|
||||
<size><%= dx %> <%= dy %> <%= dz %></size>
|
||||
</box>
|
||||
</geometry>
|
||||
<material>
|
||||
<script>
|
||||
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||||
<name>Gazebo/Wood</name>
|
||||
</script>
|
||||
</material>
|
||||
</visual>
|
||||
|
||||
</link>
|
||||
</model>
|
||||
</sdf>
|
65
wood_block_10_2_1cm/model.sdf
Normal file
65
wood_block_10_2_1cm/model.sdf
Normal file
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" ?>
|
||||
|
||||
<sdf version="1.5">
|
||||
<model name="wood_block_10_2_1cm">
|
||||
<link name="link">
|
||||
<pose>0 0 0.005 0 0 0</pose>
|
||||
<inertial>
|
||||
<mass>0.0125</mass>
|
||||
<inertia>
|
||||
<ixx>7.552083333333335e-07</ixx>
|
||||
<ixy>0</ixy>
|
||||
<ixz>0</ixz>
|
||||
<iyy>1.0520833333333334e-05</iyy>
|
||||
<iyz>0</iyz>
|
||||
<izz>1.1067708333333336e-05</izz>
|
||||
</inertia>
|
||||
</inertial>
|
||||
|
||||
<collision name="collision">
|
||||
<geometry>
|
||||
<box>
|
||||
<size>0.1 0.025 0.01</size>
|
||||
</box>
|
||||
</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>1</kd>
|
||||
<max_vel>1.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.05</surface_radius>
|
||||
</torsional>
|
||||
</friction>
|
||||
</surface>
|
||||
</collision>
|
||||
|
||||
<visual name="visual">
|
||||
<geometry>
|
||||
<box>
|
||||
<size>0.1 0.025 0.01</size>
|
||||
</box>
|
||||
</geometry>
|
||||
<material>
|
||||
<script>
|
||||
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||||
<name>Gazebo/Wood</name>
|
||||
</script>
|
||||
</material>
|
||||
</visual>
|
||||
|
||||
</link>
|
||||
</model>
|
||||
</sdf>
|
Reference in New Issue
Block a user