URDF code for cylindrical ring:
<robot name="cylindrical_ring">
<link name="link1"> <visual> <geometry> <cylinder radius="0.5" length="1" /> </geometry> </visual> <inertial> <mass value="10"/> <inertia ixx="1.86" ixy="0" ixz="0" iyy="1.86" iyz="0" izz="2.05" /> </inertial> <collision> <geometry> <cylinder radius="0.5" length="1" /> </geometry> </collision> </link>
<gazebo reference="link1"> <material>Gazebo/Yellow</material> </gazebo>
</robot> |
慣性張量計算公式如下,取自《Wikipedia: List of 3D inertia tensors》:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8UK930tXoQ_gjG6VBo1iyFyw1hw-2daLNx4h-fdF7oKqek4NKLoC8tvCXQwUqOXGHiUCyowTmEBGOlq0jBYag5IdW6woKbtvT0RjICuxeAJk7U9ivKe67WMavG067_EKR3G4FfqqtSp4/s0/cylindrical_ring.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkCfAuUm2Sx5JGjbBIyqztLcu83o35QUNHS3WObP0xiTn2iTAaLhVuL7MrVEw91Ht6IMBzJpm5ehzXlJyMZJPm2Jp41xb7EARxRPZV-73a5e_cYoKHsasUWxbcVG6Z1ylRdHaEyzZrXDw/s0/cylindrical_ring_inertia_tensor1.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1g7ReLXe-QIrCnD_CyYp7OZLx5oQUOwxJGETbn_v97wn-Os2N1pqVUbM84IPzJCII7IwOW_hf_w9gGImoOyP0Oz2yB4YqhIIv4JGXKEK0isdMHZhUzQ3RNyX1pPLDMhwiWXbMuHGJQ3I/s0/cylindrical_ring_inertia_tensor2.png)
參考資料
- Wikipedia: List of 3D inertia tensors
https://en.wikipedia.org/wiki/List_of_moments_of_inertia#List_of_3D_inertia_tensors
沒有留言:
張貼留言