init
This commit is contained in:
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>
|
Reference in New Issue
Block a user