Guest User

Untitled

a guest
May 23rd, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <robot name="robot" >
  3. <material name="white">
  4. <color rgba="0.66 0.65 0.66 1" />
  5. </material>
  6. <link name="base_footprint" />
  7. <joint name="joint_footprint" type="fixed">
  8. <origin xyz="0 0 0" rpy="0 0 0" />
  9. <parent link="base_footprint"/>
  10. <child link="base_link"/>
  11. </joint>
  12. <link name="base_link">
  13. <visual>
  14. <origin xyz="0 0 0" rpy="1.5708 0 -1.5708" />
  15. <geometry>
  16. <mesh filename="package://robot_urdf/meshes/base_link.STL" scale="1 1 1"/>
  17. </geometry>
  18. <material name="">
  19. <color rgba="0.66 0.65 0.66 1" />
  20. </material>
  21. </visual>
  22. <collision>
  23. <origin xyz="0 0 0" rpy="1.5708 0 -1.5708" />
  24. <geometry>
  25. <mesh filename="package://robot_urdf/meshes/base_link.STL" scale="1 1 1"/>
  26. </geometry>
  27. </collision>
  28. <inertial>
  29. <origin xyz="0 0 0.09258" rpy="0 0 0" />
  30. <mass value="0.989"/>
  31. <inertia ixx="0.8476774E-2" ixy="0" ixz="0" iyy="0.8476774E-2" iyz="0" izz="0" />
  32. </inertial>
  33. </link>
  34. <link name="hip_l">
  35. <visual>
  36. <origin xyz="0 0 0" rpy="0 0 -1.5708" />
  37. <geometry>
  38. <mesh filename="package://robot_urdf/meshes/hip_l.STL" scale="1 1 1"/>
  39. </geometry>
  40. <material name="">
  41. <color rgba="0.66 0.65 0.66 1" />
  42. </material>
  43. </visual>
  44. <collision>
  45. <origin xyz="0 0 0" rpy="0 0 -1.5708" />
  46. <geometry>
  47. <mesh filename="package://robot_urdf/meshes/hip_l.STL" scale="1 1 1"/>
  48. </geometry>
  49. </collision>
  50. <inertial>
  51. <origin xyz="0 0 0.030445" rpy="0 0 0" />
  52. <mass value="0.104"/>
  53. <inertia ixx="0.96397E-4" ixy="0" ixz="0" iyy="0.96397E-4" iyz="0" izz="0" />
  54. </inertial>
  55. </link>
  56. <joint name="hip_l_y"
  57. type="revolute">
  58. <axis xyz="0 0 1" />
  59. <limit effort="8.4" lower="-0.3" upper="0.8" velocity="4.7" />
  60. <origin xyz="0 0.056 0" rpy="0 0 0" />
  61. <parent link="base_link" />
  62. <child link="hip_l" />
  63. </joint>
  64. <link name="hip_l_2">
  65. <visual>
  66. <origin xyz="0 0 0" rpy="0 0 1.5708" />
  67. <geometry>
  68. <mesh filename="package://robot_urdf/meshes/hip_l_2.STL" scale="1 1 1"/>
  69. </geometry>
  70. <material name="">
  71. <color rgba="0.66 0.65 0.66 1" />
  72. </material>
  73. </visual>
  74. <collision>
  75. <origin xyz="0 0 0" rpy="0 0 1.5708" />
  76. <geometry>
  77. <mesh filename="package://robot_urdf/meshes/hip_l_2.STL" scale="1 1 1"/>
  78. </geometry>
  79. </collision>
  80. <inertial>
  81. <origin xyz="-0.014909 0 -0.020431" rpy="0 0 0" />
  82. <mass value="0.322"/>
  83. <inertia ixx="0.134411E-3" ixy="0" ixz="-0.98083E-4" iyy="0.205985E-3" iyz="0" izz="0.71574E-4" />
  84. </inertial>
  85. </link>
  86. <joint name="hip_l_r" type="revolute">
  87. <origin xyz="0.0225 0 0" rpy="0 1.5708 0" />
  88. <parent link="hip_l" />
  89. <child link="hip_l_2" />
  90. <axis xyz="0 0 1" />
  91. <limit effort="8.4" lower="-0.3" upper="1.5708" velocity="4.7" />
  92. </joint>
  93. <!--ros_control plugin -->
  94. <gazebo>
  95. <plugin name="gazebo_ros_control" filename="libgazebo_ros_control.so">
  96. <robotNamespace>/robot</robotNamespace>
  97. </plugin>
  98. </gazebo>
  99. <transmission name="hip_l_y_transmission">
  100. <type>transmission_interface/SimpleTransmission</type>
  101. <joint name="hip_l_y">
  102. <hardwareInterface>hardware_interface/EffortJointInterface</hardwareInterface>
  103. </joint>
  104. <actuator name="hip_l_y">
  105. <hardwareInterface>hardware_interface/EffortJointInterface</hardwareInterface>
  106. <mechanicalReduction>1</mechanicalReduction>
  107. </actuator>
  108. </transmission>
  109. <transmission name="hip_l_r_transmission">
  110. <type>transmission_interface/SimpleTransmission</type>
  111. <joint name="hip_l_r">
  112. <hardwareInterface>hardware_interface/EffortJointInterface</hardwareInterface>
  113. </joint>
  114. <actuator name="hip_l_r">
  115. <hardwareInterface>hardware_interface/EffortJointInterface</hardwareInterface>
  116. <mechanicalReduction>1</mechanicalReduction>
  117. </actuator>
  118. </transmission>
  119. <gazebo reference="base_link">
  120. <material>Gazebo/white</material>
  121. </gazebo>
  122. <gazebo reference="hip_l">
  123. <material>Gazebo/white</material>
  124. </gazebo>
  125. <gazebo reference="hip_l_2">
  126. <material>Gazebo/white</material>
  127. </gazebo>
  128. </robot>
Add Comment
Please, Sign In to add comment