two_cubes.sdf 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. <sdf version='1.6'>
  2. <world name='default'>
  3. <light name='sun' type='directional'>
  4. <yunfei>99.2</yunfei>
  5. <cast_shadows>1</cast_shadows>
  6. <pose frame=''>0 0 10 0 -0 0</pose>
  7. <diffuse>0.8 0.8 0.8 1</diffuse>
  8. <specular>0.2 0.2 0.2 1</specular>
  9. <attenuation>
  10. <range>1000</range>
  11. <constant>0.9</constant>
  12. <linear>0.01</linear>
  13. <quadratic>0.001</quadratic>
  14. </attenuation>
  15. <direction>-0.5 0.1 -0.9</direction>
  16. </light>
  17. <model name='ground_plane'>
  18. <static>1</static>
  19. <link name='link'>
  20. <collision name='collision'>
  21. <geometry>
  22. <plane>
  23. <normal>0 0 1</normal>
  24. <size>100 100</size>
  25. </plane>
  26. </geometry>
  27. <surface>
  28. <contact>
  29. <collide_bitmask>65535</collide_bitmask>
  30. <ode/>
  31. </contact>
  32. <friction>
  33. <ode>
  34. <mu>100</mu>
  35. <mu2>50</mu2>
  36. </ode>
  37. <torsional>
  38. <ode/>
  39. </torsional>
  40. </friction>
  41. <bounce/>
  42. </surface>
  43. <max_contacts>10</max_contacts>
  44. </collision>
  45. <visual name='visual'>
  46. <cast_shadows>0</cast_shadows>
  47. <geometry>
  48. <plane>
  49. <normal>0 0 1</normal>
  50. <size>100 100</size>
  51. </plane>
  52. </geometry>
  53. <material>
  54. <script>
  55. <uri>file://media/materials/scripts/gazebo.material</uri>
  56. <name>Gazebo/Grey</name>
  57. </script>
  58. </material>
  59. </visual>
  60. <self_collide>0</self_collide>
  61. <kinematic>0</kinematic>
  62. <gravity>1</gravity>
  63. </link>
  64. </model>
  65. <gravity>0 0 -9.8</gravity>
  66. <magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>
  67. <atmosphere type='adiabatic'/>
  68. <physics name='default_physics' default='0' type='ode'>
  69. <max_step_size>0.001</max_step_size>
  70. <real_time_factor>1</real_time_factor>
  71. <real_time_update_rate>1000</real_time_update_rate>
  72. </physics>
  73. <scene>
  74. <ambient>0.4 0.4 0.4 1</ambient>
  75. <background>0.7 0.7 0.7 1</background>
  76. <shadows>1</shadows>
  77. </scene>
  78. <audio>
  79. <device>default</device>
  80. </audio>
  81. <spherical_coordinates>
  82. <surface_model>EARTH_WGS84</surface_model>
  83. <latitude_deg>0</latitude_deg>
  84. <longitude_deg>0</longitude_deg>
  85. <elevation>0</elevation>
  86. <heading_deg>0</heading_deg>
  87. </spherical_coordinates>
  88. <model name='unit_box_0'>
  89. <static>1</static>
  90. <pose frame=''>0.512455 -1.58317 0.5 0 -0 0</pose>
  91. <link name='unit_box_0::link'>
  92. <inertial>
  93. <mass>1</mass>
  94. <inertia>
  95. <ixx>0.166667</ixx>
  96. <ixy>0</ixy>
  97. <ixz>0</ixz>
  98. <iyy>0.166667</iyy>
  99. <iyz>0</iyz>
  100. <izz>0.166667</izz>
  101. </inertia>
  102. </inertial>
  103. <collision name='collision'>
  104. <geometry>
  105. <box>
  106. <size>1 1 1</size>
  107. </box>
  108. </geometry>
  109. <max_contacts>10</max_contacts>
  110. <surface>
  111. <contact>
  112. <ode/>
  113. </contact>
  114. <bounce/>
  115. <friction>
  116. <torsional>
  117. <ode/>
  118. </torsional>
  119. <ode/>
  120. </friction>
  121. </surface>
  122. </collision>
  123. <visual name='visual'>
  124. <geometry>
  125. <mesh>
  126. <scale>1 1 1</scale>
  127. <uri>cube.obj</uri>
  128. </mesh>
  129. </geometry>
  130. <material>
  131. <diffuse>1 1 1 1</diffuse>
  132. <script>
  133. <name>Gazebo/Grey</name>
  134. <uri>file://media/materials/scripts/gazebo.material</uri>
  135. </script>
  136. </material>
  137. </visual>
  138. <self_collide>0</self_collide>
  139. <kinematic>0</kinematic>
  140. <gravity>1</gravity>
  141. </link>
  142. </model>
  143. <model name='unit_box_0_clone'>
  144. <pose frame=''>0.105158 -4.55002 1.499995 -2.89297 -0.988287 -3.14159</pose>
  145. <link name='unit_box_0::link'>
  146. <inertial>
  147. <mass>1</mass>
  148. <inertia>
  149. <ixx>0.166667</ixx>
  150. <ixy>0</ixy>
  151. <ixz>0</ixz>
  152. <iyy>0.166667</iyy>
  153. <iyz>0</iyz>
  154. <izz>0.166667</izz>
  155. </inertia>
  156. </inertial>
  157. <collision name='collision1'>
  158. <geometry>
  159. <box>
  160. <size>1 1 1</size>
  161. </box>
  162. </geometry>
  163. <max_contacts>10</max_contacts>
  164. <surface>
  165. <contact>
  166. <ode/>
  167. </contact>
  168. <bounce/>
  169. <friction>
  170. <torsional>
  171. <ode/>
  172. </torsional>
  173. <ode/>
  174. </friction>
  175. </surface>
  176. </collision>
  177. <visual name='visual'>
  178. <geometry>
  179. <mesh>
  180. <scale>1 1 1</scale>
  181. <uri>cube.obj</uri>
  182. </mesh>
  183. </geometry>
  184. <material>
  185. <diffuse>1 1 1 1</diffuse>
  186. </material>
  187. </visual>
  188. <self_collide>0</self_collide>
  189. <kinematic>0</kinematic>
  190. <gravity>1</gravity>
  191. </link>
  192. </model>
  193. <state world_name='default'>
  194. <sim_time>0 0</sim_time>
  195. <real_time>0 0</real_time>
  196. <wall_time>1462824251 956472000</wall_time>
  197. <iterations>0</iterations>
  198. <model name='ground_plane'>
  199. <pose frame=''>0 0 0 0 -0 0</pose>
  200. <scale>1 1 1</scale>
  201. <link name='link'>
  202. <pose frame=''>0 0 0 0 -0 0</pose>
  203. <velocity>0 0 0 0 -0 0</velocity>
  204. <acceleration>0 0 0 0 -0 0</acceleration>
  205. <wrench>0 0 0 0 -0 0</wrench>
  206. </link>
  207. </model>
  208. <model name='unit_box_0'>
  209. <pose frame=''>0.223196 -1.84719 0.499995 -2.89297 -0.988287 -3.14159</pose>
  210. <scale>1 1 1</scale>
  211. <link name='unit_box_0::link'>
  212. <pose frame=''>0.223196 -1.84719 0.499995 -2.89297 -0.988287 -3.14159</pose>
  213. <velocity>0.004896 3e-06 -0.004891 -6e-06 0.009793 -0</velocity>
  214. <acceleration>0.010615 0.006191 -9.78231 -0.012424 0.021225 -1.8e-05</acceleration>
  215. <wrench>0.010615 0.006191 -9.78231 0 -0 0</wrench>
  216. </link>
  217. </model>
  218. <model name='unit_box_0_clone'>
  219. <pose frame=''>0.105158 -4.55002 0.499995 -2.89297 -0.988287 -3.14159</pose>
  220. <scale>1 1 1</scale>
  221. <link name='unit_box_0::link'>
  222. <pose frame=''>0.105158 -4.55002 0.499995 -2.89297 -0.988287 -3.14159</pose>
  223. <velocity>0 0 0 0 -0 0</velocity>
  224. <acceleration>0 0 0 0 -0 0</acceleration>
  225. <wrench>0 0 0 0 -0 0</wrench>
  226. </link>
  227. </model>
  228. <light name='sun'>
  229. <pose frame=''>0 0 10 0 -0 0</pose>
  230. </light>
  231. </state>
  232. <gui fullscreen='0'>
  233. <camera name='user_camera'>
  234. <pose frame=''>8.0562 -8.87312 3.07529 0 0.205021 2.5208</pose>
  235. <view_controller>orbit</view_controller>
  236. <projection_type>perspective</projection_type>
  237. </camera>
  238. </gui>
  239. </world>
  240. </sdf>