init
This commit is contained in:
16
ball_bearing/model.config
Normal file
16
ball_bearing/model.config
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<model>
|
||||
<name>Ball Bearing</name>
|
||||
<version>1.0</version>
|
||||
<sdf version='1.5'>model.sdf</sdf>
|
||||
|
||||
<author>
|
||||
<name>Jackie Kay</name>
|
||||
<email>jackie@osrfoundation.org</email>
|
||||
</author>
|
||||
|
||||
<description>
|
||||
A 6mm diameter ball bearing.
|
||||
</description>
|
||||
</model>
|
70
ball_bearing/model.rsdf
Normal file
70
ball_bearing/model.rsdf
Normal file
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" ?>
|
||||
<%
|
||||
# Marble with diameter 1.5 cm
|
||||
# SI units (length in meters)
|
||||
|
||||
# Geometry
|
||||
|
||||
d = 0.006
|
||||
r = d/2.0
|
||||
|
||||
# Inertia
|
||||
mass = 0.0011
|
||||
ixx = 2.0*mass*r**2/5.0
|
||||
iyy = 2.0*mass*r**2/5.0
|
||||
izz = 2.0*mass*r**2/5.0
|
||||
%>
|
||||
<sdf version="1.5">
|
||||
<model name="ball_bearing">
|
||||
<link name="link">
|
||||
<pose>0 0 <%= r %> 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>
|
||||
<sphere>
|
||||
<radius><%= r %></radius>
|
||||
</sphere>
|
||||
</geometry>
|
||||
<surface>
|
||||
<contact>
|
||||
<ode>
|
||||
<max_vel>0.1</max_vel>
|
||||
<min_depth>0.0001</min_depth>
|
||||
</ode>
|
||||
</contact>
|
||||
</surface>
|
||||
</collision>
|
||||
|
||||
<visual name="visual">
|
||||
<geometry>
|
||||
<sphere>
|
||||
<radius><%= r %></radius>
|
||||
</sphere>
|
||||
</geometry>
|
||||
<material>
|
||||
<script>
|
||||
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||||
<name>Gazebo/Chrome</name>
|
||||
</script>
|
||||
</material>
|
||||
</visual>
|
||||
|
||||
<!-- approximate rolling friction -->
|
||||
<velocity_decay>
|
||||
<linear>0.00</linear>
|
||||
<angular>0.005</angular>
|
||||
</velocity_decay>
|
||||
</link>
|
||||
</model>
|
||||
</sdf>
|
68
ball_bearing/model.sdf
Normal file
68
ball_bearing/model.sdf
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" ?>
|
||||
|
||||
<sdf version="1.5">
|
||||
<model name="ball_bearing">
|
||||
<link name="link">
|
||||
<pose>0 0 0.003 0 0 0</pose>
|
||||
<inertial>
|
||||
<mass>0.0011</mass>
|
||||
<inertia>
|
||||
<ixx>3.96e-09</ixx>
|
||||
<ixy>0</ixy>
|
||||
<ixz>0</ixz>
|
||||
<iyy>3.96e-09</iyy>
|
||||
<iyz>0</iyz>
|
||||
<izz>3.96e-09</izz>
|
||||
</inertia>
|
||||
</inertial>
|
||||
|
||||
<collision name="collision">
|
||||
<geometry>
|
||||
<sphere>
|
||||
<radius>0.003</radius>
|
||||
</sphere>
|
||||
</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>
|
||||
<sphere>
|
||||
<radius>0.003</radius>
|
||||
</sphere>
|
||||
</geometry>
|
||||
<material>
|
||||
<script>
|
||||
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||||
<name>Gazebo/Grey</name>
|
||||
</script>
|
||||
</material>
|
||||
</visual>
|
||||
|
||||
<!-- approximate rolling friction -->
|
||||
<velocity_decay>
|
||||
<linear>0.00</linear>
|
||||
<angular>0.005</angular>
|
||||
</velocity_decay>
|
||||
</link>
|
||||
</model>
|
||||
</sdf>
|
Reference in New Issue
Block a user