Skip to content

Commit

Permalink
fix: updated cylinder inertial macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ricbaori authored Jun 11, 2024
1 parent b395c9d commit 4e783e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions myactuator_rmd_description/urdf/myactuator_rmd.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<inertial>
<mass value="${m}"/>
<origin xyz="${x} ${y} ${z}" rpy="0 0 0"/>
<inertia ixx="${1/12*m*height*height}" ixy="0.0" ixz="0.0"
iyy="${1/12*m*height*height}" iyz="0.0"
<inertia ixx="${1/12*m*(3*radius*radius+height*height)}" ixy="0.0" ixz="0.0"
iyy="${1/12*m*(3*radius*radius+height*height)}" iyz="0.0"
izz="${1/2*m*radius*radius}"/>
</inertial>
</xacro:macro>
Expand Down Expand Up @@ -112,4 +112,4 @@
torque_constant="${torque_constant}"/>
</xacro:macro>

</robot>
</robot>

0 comments on commit 4e783e5

Please sign in to comment.