mirror of
https://github.com/osrf/gazebo_models.git
synced 2025-09-15 12:58:56 +08:00
Fixed inertial calculations in pegs and erb'd files for tube and cup
This commit is contained in:
parent
aa54581221
commit
dd98e9557b
@ -11,8 +11,8 @@
|
||||
|
||||
# Inertia
|
||||
mass = 0.0121
|
||||
ixx = mass/12.0 * 3*(r**2 + h**2 )
|
||||
iyy = mass/12.0 * 3*(r**2 + h**2 )
|
||||
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">
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
<inertial>
|
||||
<mass>0.0121</mass>
|
||||
<inertia>
|
||||
<ixx>1.166104225e-05</ixx>
|
||||
<ixx>3.908975583333333e-06</ixx>
|
||||
<ixy>0</ixy>
|
||||
<ixz>0</ixz>
|
||||
<iyy>1.166104225e-05</iyy>
|
||||
<iyy>3.908975583333333e-06</iyy>
|
||||
<iyz>0</iyz>
|
||||
<izz>6.58845e-08</izz>
|
||||
</inertia>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<geometry>
|
||||
<cylinder>
|
||||
<radius> 0.007 </radius>
|
||||
<height> 0.13 </height>
|
||||
<length> 0.13 </length>
|
||||
</cylinder>
|
||||
</geometry>
|
||||
</collision>
|
||||
@ -28,7 +28,7 @@
|
||||
<geometry>
|
||||
<cylinder>
|
||||
<radius> 0.007 </radius>
|
||||
<height> 0.13 </height>
|
||||
<length> 0.13 </length>
|
||||
</cylinder>
|
||||
</geometry>
|
||||
<material>
|
||||
|
||||
@ -17,10 +17,9 @@
|
||||
|
||||
<collision name="collision">
|
||||
<geometry>
|
||||
#TODO: replace with mesh of a tube
|
||||
<cylinder>
|
||||
<radius> 0.00475 </radius>
|
||||
<height> 0.16 </height>
|
||||
<length> 0.16 </length>
|
||||
</cylinder>
|
||||
</geometry>
|
||||
</collision>
|
||||
@ -29,7 +28,7 @@
|
||||
<geometry>
|
||||
<cylinder>
|
||||
<radius> 0.00475 </radius>
|
||||
<height> 0.16 </height>
|
||||
<length> 0.16 </length>
|
||||
</cylinder>
|
||||
</geometry>
|
||||
<material>
|
||||
|
||||
@ -11,8 +11,8 @@
|
||||
|
||||
# Inertia
|
||||
mass = 0.0175
|
||||
ixx = mass/12.0 * 3*(r**2 + h**2 )
|
||||
iyy = mass/12.0 * 3*(r**2 + h**2 )
|
||||
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">
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
<inertial>
|
||||
<mass>0.0175</mass>
|
||||
<inertia>
|
||||
<ixx>2.8415898437500003e-05</ixx>
|
||||
<ixx>9.749231770833334e-06</ixx>
|
||||
<ixy>0</ixy>
|
||||
<ixz>0</ixz>
|
||||
<iyy>2.8415898437500003e-05</iyy>
|
||||
<iyy>9.749231770833334e-06</iyy>
|
||||
<iyz>0</iyz>
|
||||
<izz>8.317968750000001e-07</izz>
|
||||
</inertia>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user