warp-lang 1.9.0__py3-none-win_amd64.whl → 1.10.0rc2__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of warp-lang might be problematic. Click here for more details.

Files changed (350) hide show
  1. warp/__init__.py +301 -287
  2. warp/__init__.pyi +2220 -313
  3. warp/_src/__init__.py +14 -0
  4. warp/_src/autograd.py +1075 -0
  5. warp/_src/build.py +618 -0
  6. warp/_src/build_dll.py +640 -0
  7. warp/{builtins.py → _src/builtins.py} +1497 -226
  8. warp/_src/codegen.py +4359 -0
  9. warp/{config.py → _src/config.py} +178 -169
  10. warp/_src/constants.py +57 -0
  11. warp/_src/context.py +8294 -0
  12. warp/_src/dlpack.py +462 -0
  13. warp/_src/fabric.py +355 -0
  14. warp/_src/fem/__init__.py +14 -0
  15. warp/_src/fem/adaptivity.py +508 -0
  16. warp/_src/fem/cache.py +687 -0
  17. warp/_src/fem/dirichlet.py +188 -0
  18. warp/{fem → _src/fem}/domain.py +40 -30
  19. warp/_src/fem/field/__init__.py +131 -0
  20. warp/_src/fem/field/field.py +701 -0
  21. warp/{fem → _src/fem}/field/nodal_field.py +30 -15
  22. warp/{fem → _src/fem}/field/restriction.py +1 -1
  23. warp/{fem → _src/fem}/field/virtual.py +53 -27
  24. warp/_src/fem/geometry/__init__.py +32 -0
  25. warp/{fem → _src/fem}/geometry/adaptive_nanogrid.py +77 -163
  26. warp/_src/fem/geometry/closest_point.py +97 -0
  27. warp/{fem → _src/fem}/geometry/deformed_geometry.py +14 -22
  28. warp/{fem → _src/fem}/geometry/element.py +32 -10
  29. warp/{fem → _src/fem}/geometry/geometry.py +48 -20
  30. warp/{fem → _src/fem}/geometry/grid_2d.py +12 -23
  31. warp/{fem → _src/fem}/geometry/grid_3d.py +12 -23
  32. warp/{fem → _src/fem}/geometry/hexmesh.py +40 -63
  33. warp/{fem → _src/fem}/geometry/nanogrid.py +255 -248
  34. warp/{fem → _src/fem}/geometry/partition.py +121 -63
  35. warp/{fem → _src/fem}/geometry/quadmesh.py +26 -45
  36. warp/{fem → _src/fem}/geometry/tetmesh.py +40 -63
  37. warp/{fem → _src/fem}/geometry/trimesh.py +26 -45
  38. warp/{fem → _src/fem}/integrate.py +164 -158
  39. warp/_src/fem/linalg.py +383 -0
  40. warp/_src/fem/operator.py +396 -0
  41. warp/_src/fem/polynomial.py +229 -0
  42. warp/{fem → _src/fem}/quadrature/pic_quadrature.py +15 -20
  43. warp/{fem → _src/fem}/quadrature/quadrature.py +95 -47
  44. warp/_src/fem/space/__init__.py +248 -0
  45. warp/{fem → _src/fem}/space/basis_function_space.py +20 -11
  46. warp/_src/fem/space/basis_space.py +679 -0
  47. warp/{fem → _src/fem}/space/dof_mapper.py +3 -3
  48. warp/{fem → _src/fem}/space/function_space.py +14 -13
  49. warp/{fem → _src/fem}/space/grid_2d_function_space.py +4 -7
  50. warp/{fem → _src/fem}/space/grid_3d_function_space.py +4 -4
  51. warp/{fem → _src/fem}/space/hexmesh_function_space.py +4 -10
  52. warp/{fem → _src/fem}/space/nanogrid_function_space.py +3 -9
  53. warp/{fem → _src/fem}/space/partition.py +117 -60
  54. warp/{fem → _src/fem}/space/quadmesh_function_space.py +4 -10
  55. warp/{fem → _src/fem}/space/restriction.py +66 -33
  56. warp/_src/fem/space/shape/__init__.py +152 -0
  57. warp/{fem → _src/fem}/space/shape/cube_shape_function.py +9 -9
  58. warp/{fem → _src/fem}/space/shape/shape_function.py +8 -9
  59. warp/{fem → _src/fem}/space/shape/square_shape_function.py +6 -6
  60. warp/{fem → _src/fem}/space/shape/tet_shape_function.py +3 -3
  61. warp/{fem → _src/fem}/space/shape/triangle_shape_function.py +3 -3
  62. warp/{fem → _src/fem}/space/tetmesh_function_space.py +3 -9
  63. warp/_src/fem/space/topology.py +459 -0
  64. warp/{fem → _src/fem}/space/trimesh_function_space.py +3 -9
  65. warp/_src/fem/types.py +112 -0
  66. warp/_src/fem/utils.py +486 -0
  67. warp/_src/jax.py +186 -0
  68. warp/_src/jax_experimental/__init__.py +14 -0
  69. warp/_src/jax_experimental/custom_call.py +387 -0
  70. warp/_src/jax_experimental/ffi.py +1284 -0
  71. warp/_src/jax_experimental/xla_ffi.py +656 -0
  72. warp/_src/marching_cubes.py +708 -0
  73. warp/_src/math.py +414 -0
  74. warp/_src/optim/__init__.py +14 -0
  75. warp/_src/optim/adam.py +163 -0
  76. warp/_src/optim/linear.py +1606 -0
  77. warp/_src/optim/sgd.py +112 -0
  78. warp/_src/paddle.py +406 -0
  79. warp/_src/render/__init__.py +14 -0
  80. warp/_src/render/imgui_manager.py +289 -0
  81. warp/_src/render/render_opengl.py +3636 -0
  82. warp/_src/render/render_usd.py +937 -0
  83. warp/_src/render/utils.py +160 -0
  84. warp/_src/sparse.py +2716 -0
  85. warp/_src/tape.py +1206 -0
  86. warp/{thirdparty → _src/thirdparty}/unittest_parallel.py +9 -2
  87. warp/_src/torch.py +391 -0
  88. warp/_src/types.py +5870 -0
  89. warp/_src/utils.py +1693 -0
  90. warp/autograd.py +12 -1054
  91. warp/bin/warp-clang.dll +0 -0
  92. warp/bin/warp.dll +0 -0
  93. warp/build.py +8 -588
  94. warp/build_dll.py +6 -471
  95. warp/codegen.py +6 -4246
  96. warp/constants.py +6 -39
  97. warp/context.py +12 -7851
  98. warp/dlpack.py +6 -444
  99. warp/examples/distributed/example_jacobi_mpi.py +4 -5
  100. warp/examples/fem/example_adaptive_grid.py +1 -1
  101. warp/examples/fem/example_apic_fluid.py +1 -1
  102. warp/examples/fem/example_burgers.py +8 -8
  103. warp/examples/fem/example_diffusion.py +1 -1
  104. warp/examples/fem/example_distortion_energy.py +1 -1
  105. warp/examples/fem/example_mixed_elasticity.py +2 -2
  106. warp/examples/fem/example_navier_stokes.py +1 -1
  107. warp/examples/fem/example_nonconforming_contact.py +7 -7
  108. warp/examples/fem/example_stokes.py +1 -1
  109. warp/examples/fem/example_stokes_transfer.py +1 -1
  110. warp/examples/fem/utils.py +2 -2
  111. warp/examples/interop/example_jax_callable.py +1 -1
  112. warp/examples/interop/example_jax_ffi_callback.py +1 -1
  113. warp/examples/interop/example_jax_kernel.py +3 -2
  114. warp/examples/tile/example_tile_mcgp.py +191 -0
  115. warp/fabric.py +6 -337
  116. warp/fem/__init__.py +159 -97
  117. warp/fem/adaptivity.py +7 -489
  118. warp/fem/cache.py +9 -648
  119. warp/fem/dirichlet.py +6 -184
  120. warp/fem/field/__init__.py +8 -109
  121. warp/fem/field/field.py +7 -652
  122. warp/fem/geometry/__init__.py +7 -18
  123. warp/fem/geometry/closest_point.py +11 -77
  124. warp/fem/linalg.py +18 -366
  125. warp/fem/operator.py +11 -369
  126. warp/fem/polynomial.py +9 -209
  127. warp/fem/space/__init__.py +5 -211
  128. warp/fem/space/basis_space.py +6 -662
  129. warp/fem/space/shape/__init__.py +41 -118
  130. warp/fem/space/topology.py +6 -437
  131. warp/fem/types.py +6 -81
  132. warp/fem/utils.py +11 -444
  133. warp/jax.py +8 -165
  134. warp/jax_experimental/__init__.py +14 -1
  135. warp/jax_experimental/custom_call.py +8 -342
  136. warp/jax_experimental/ffi.py +17 -853
  137. warp/jax_experimental/xla_ffi.py +5 -596
  138. warp/marching_cubes.py +5 -689
  139. warp/math.py +16 -393
  140. warp/native/array.h +385 -37
  141. warp/native/builtin.h +316 -39
  142. warp/native/bvh.cpp +43 -9
  143. warp/native/bvh.cu +62 -27
  144. warp/native/bvh.h +310 -309
  145. warp/native/clang/clang.cpp +102 -97
  146. warp/native/coloring.cpp +0 -1
  147. warp/native/crt.h +208 -0
  148. warp/native/exports.h +156 -0
  149. warp/native/hashgrid.cu +2 -0
  150. warp/native/intersect.h +24 -1
  151. warp/native/intersect_tri.h +44 -35
  152. warp/native/mat.h +1456 -276
  153. warp/native/mesh.cpp +4 -4
  154. warp/native/mesh.cu +4 -2
  155. warp/native/mesh.h +176 -61
  156. warp/native/quat.h +0 -52
  157. warp/native/scan.cu +2 -0
  158. warp/native/sort.cu +22 -13
  159. warp/native/sort.h +2 -0
  160. warp/native/sparse.cu +7 -3
  161. warp/native/spatial.h +12 -0
  162. warp/native/tile.h +837 -70
  163. warp/native/tile_radix_sort.h +1 -1
  164. warp/native/tile_reduce.h +394 -46
  165. warp/native/tile_scan.h +4 -4
  166. warp/native/vec.h +469 -53
  167. warp/native/version.h +23 -0
  168. warp/native/volume.cpp +1 -1
  169. warp/native/volume.cu +1 -0
  170. warp/native/volume.h +1 -1
  171. warp/native/volume_builder.cu +2 -0
  172. warp/native/warp.cpp +60 -32
  173. warp/native/warp.cu +313 -201
  174. warp/native/warp.h +14 -11
  175. warp/optim/__init__.py +6 -3
  176. warp/optim/adam.py +6 -145
  177. warp/optim/linear.py +14 -1585
  178. warp/optim/sgd.py +6 -94
  179. warp/paddle.py +6 -388
  180. warp/render/__init__.py +8 -4
  181. warp/render/imgui_manager.py +7 -267
  182. warp/render/render_opengl.py +6 -3616
  183. warp/render/render_usd.py +6 -918
  184. warp/render/utils.py +6 -142
  185. warp/sparse.py +37 -2563
  186. warp/tape.py +6 -1188
  187. warp/tests/__main__.py +1 -1
  188. warp/tests/cuda/test_async.py +4 -4
  189. warp/tests/cuda/test_conditional_captures.py +1 -1
  190. warp/tests/cuda/test_multigpu.py +1 -1
  191. warp/tests/cuda/test_streams.py +58 -1
  192. warp/tests/geometry/test_bvh.py +157 -22
  193. warp/tests/geometry/test_hash_grid.py +38 -0
  194. warp/tests/geometry/test_marching_cubes.py +0 -1
  195. warp/tests/geometry/test_mesh.py +5 -3
  196. warp/tests/geometry/test_mesh_query_aabb.py +5 -12
  197. warp/tests/geometry/test_mesh_query_point.py +5 -2
  198. warp/tests/geometry/test_mesh_query_ray.py +15 -3
  199. warp/tests/geometry/test_volume_write.py +5 -5
  200. warp/tests/interop/test_dlpack.py +14 -14
  201. warp/tests/interop/test_jax.py +1382 -79
  202. warp/tests/interop/test_paddle.py +1 -1
  203. warp/tests/test_adam.py +0 -1
  204. warp/tests/test_arithmetic.py +9 -9
  205. warp/tests/test_array.py +529 -100
  206. warp/tests/test_array_reduce.py +3 -3
  207. warp/tests/test_atomic.py +12 -8
  208. warp/tests/test_atomic_bitwise.py +209 -0
  209. warp/tests/test_atomic_cas.py +4 -4
  210. warp/tests/test_bool.py +2 -2
  211. warp/tests/test_builtins_resolution.py +5 -571
  212. warp/tests/test_codegen.py +34 -15
  213. warp/tests/test_conditional.py +1 -1
  214. warp/tests/test_context.py +6 -6
  215. warp/tests/test_copy.py +242 -161
  216. warp/tests/test_ctypes.py +3 -3
  217. warp/tests/test_devices.py +24 -2
  218. warp/tests/test_examples.py +16 -84
  219. warp/tests/test_fabricarray.py +35 -35
  220. warp/tests/test_fast_math.py +0 -2
  221. warp/tests/test_fem.py +60 -14
  222. warp/tests/test_fixedarray.py +3 -3
  223. warp/tests/test_func.py +8 -5
  224. warp/tests/test_generics.py +1 -1
  225. warp/tests/test_indexedarray.py +24 -24
  226. warp/tests/test_intersect.py +39 -9
  227. warp/tests/test_large.py +1 -1
  228. warp/tests/test_lerp.py +3 -1
  229. warp/tests/test_linear_solvers.py +1 -1
  230. warp/tests/test_map.py +49 -4
  231. warp/tests/test_mat.py +52 -62
  232. warp/tests/test_mat_constructors.py +4 -5
  233. warp/tests/test_mat_lite.py +1 -1
  234. warp/tests/test_mat_scalar_ops.py +121 -121
  235. warp/tests/test_math.py +34 -0
  236. warp/tests/test_module_aot.py +4 -4
  237. warp/tests/test_modules_lite.py +28 -2
  238. warp/tests/test_print.py +11 -11
  239. warp/tests/test_quat.py +93 -58
  240. warp/tests/test_runlength_encode.py +1 -1
  241. warp/tests/test_scalar_ops.py +38 -10
  242. warp/tests/test_smoothstep.py +1 -1
  243. warp/tests/test_sparse.py +126 -15
  244. warp/tests/test_spatial.py +105 -87
  245. warp/tests/test_special_values.py +6 -6
  246. warp/tests/test_static.py +7 -7
  247. warp/tests/test_struct.py +13 -2
  248. warp/tests/test_triangle_closest_point.py +48 -1
  249. warp/tests/test_tuple.py +96 -0
  250. warp/tests/test_types.py +82 -9
  251. warp/tests/test_utils.py +52 -52
  252. warp/tests/test_vec.py +29 -29
  253. warp/tests/test_vec_constructors.py +5 -5
  254. warp/tests/test_vec_scalar_ops.py +97 -97
  255. warp/tests/test_version.py +75 -0
  256. warp/tests/tile/test_tile.py +239 -0
  257. warp/tests/tile/test_tile_atomic_bitwise.py +403 -0
  258. warp/tests/tile/test_tile_cholesky.py +7 -4
  259. warp/tests/tile/test_tile_load.py +26 -2
  260. warp/tests/tile/test_tile_mathdx.py +3 -3
  261. warp/tests/tile/test_tile_matmul.py +1 -1
  262. warp/tests/tile/test_tile_mlp.py +2 -4
  263. warp/tests/tile/test_tile_reduce.py +214 -13
  264. warp/tests/unittest_suites.py +6 -14
  265. warp/tests/unittest_utils.py +10 -9
  266. warp/tests/walkthrough_debug.py +3 -1
  267. warp/torch.py +6 -373
  268. warp/types.py +29 -5750
  269. warp/utils.py +10 -1659
  270. {warp_lang-1.9.0.dist-info → warp_lang-1.10.0rc2.dist-info}/METADATA +47 -103
  271. warp_lang-1.10.0rc2.dist-info/RECORD +468 -0
  272. warp_lang-1.10.0rc2.dist-info/licenses/licenses/Gaia-LICENSE.txt +6 -0
  273. warp_lang-1.10.0rc2.dist-info/licenses/licenses/appdirs-LICENSE.txt +22 -0
  274. warp_lang-1.10.0rc2.dist-info/licenses/licenses/asset_pixel_jpg-LICENSE.txt +3 -0
  275. warp_lang-1.10.0rc2.dist-info/licenses/licenses/cuda-LICENSE.txt +1582 -0
  276. warp_lang-1.10.0rc2.dist-info/licenses/licenses/dlpack-LICENSE.txt +201 -0
  277. warp_lang-1.10.0rc2.dist-info/licenses/licenses/fp16-LICENSE.txt +28 -0
  278. warp_lang-1.10.0rc2.dist-info/licenses/licenses/libmathdx-LICENSE.txt +220 -0
  279. warp_lang-1.10.0rc2.dist-info/licenses/licenses/llvm-LICENSE.txt +279 -0
  280. warp_lang-1.10.0rc2.dist-info/licenses/licenses/moller-LICENSE.txt +16 -0
  281. warp_lang-1.10.0rc2.dist-info/licenses/licenses/nanovdb-LICENSE.txt +2 -0
  282. warp_lang-1.10.0rc2.dist-info/licenses/licenses/nvrtc-LICENSE.txt +1592 -0
  283. warp_lang-1.10.0rc2.dist-info/licenses/licenses/svd-LICENSE.txt +23 -0
  284. warp_lang-1.10.0rc2.dist-info/licenses/licenses/unittest_parallel-LICENSE.txt +21 -0
  285. warp_lang-1.10.0rc2.dist-info/licenses/licenses/usd-LICENSE.txt +213 -0
  286. warp_lang-1.10.0rc2.dist-info/licenses/licenses/windingnumber-LICENSE.txt +21 -0
  287. warp/examples/assets/cartpole.urdf +0 -110
  288. warp/examples/assets/crazyflie.usd +0 -0
  289. warp/examples/assets/nv_ant.xml +0 -92
  290. warp/examples/assets/nv_humanoid.xml +0 -183
  291. warp/examples/assets/quadruped.urdf +0 -268
  292. warp/examples/optim/example_bounce.py +0 -266
  293. warp/examples/optim/example_cloth_throw.py +0 -228
  294. warp/examples/optim/example_drone.py +0 -870
  295. warp/examples/optim/example_inverse_kinematics.py +0 -182
  296. warp/examples/optim/example_inverse_kinematics_torch.py +0 -191
  297. warp/examples/optim/example_softbody_properties.py +0 -400
  298. warp/examples/optim/example_spring_cage.py +0 -245
  299. warp/examples/optim/example_trajectory.py +0 -227
  300. warp/examples/sim/example_cartpole.py +0 -143
  301. warp/examples/sim/example_cloth.py +0 -225
  302. warp/examples/sim/example_cloth_self_contact.py +0 -316
  303. warp/examples/sim/example_granular.py +0 -130
  304. warp/examples/sim/example_granular_collision_sdf.py +0 -202
  305. warp/examples/sim/example_jacobian_ik.py +0 -244
  306. warp/examples/sim/example_particle_chain.py +0 -124
  307. warp/examples/sim/example_quadruped.py +0 -203
  308. warp/examples/sim/example_rigid_chain.py +0 -203
  309. warp/examples/sim/example_rigid_contact.py +0 -195
  310. warp/examples/sim/example_rigid_force.py +0 -133
  311. warp/examples/sim/example_rigid_gyroscopic.py +0 -115
  312. warp/examples/sim/example_rigid_soft_contact.py +0 -140
  313. warp/examples/sim/example_soft_body.py +0 -196
  314. warp/examples/tile/example_tile_walker.py +0 -327
  315. warp/sim/__init__.py +0 -74
  316. warp/sim/articulation.py +0 -793
  317. warp/sim/collide.py +0 -2570
  318. warp/sim/graph_coloring.py +0 -307
  319. warp/sim/import_mjcf.py +0 -791
  320. warp/sim/import_snu.py +0 -227
  321. warp/sim/import_urdf.py +0 -579
  322. warp/sim/import_usd.py +0 -898
  323. warp/sim/inertia.py +0 -357
  324. warp/sim/integrator.py +0 -245
  325. warp/sim/integrator_euler.py +0 -2000
  326. warp/sim/integrator_featherstone.py +0 -2101
  327. warp/sim/integrator_vbd.py +0 -2487
  328. warp/sim/integrator_xpbd.py +0 -3295
  329. warp/sim/model.py +0 -4821
  330. warp/sim/particles.py +0 -121
  331. warp/sim/render.py +0 -431
  332. warp/sim/utils.py +0 -431
  333. warp/tests/sim/disabled_kinematics.py +0 -244
  334. warp/tests/sim/test_cloth.py +0 -863
  335. warp/tests/sim/test_collision.py +0 -743
  336. warp/tests/sim/test_coloring.py +0 -347
  337. warp/tests/sim/test_inertia.py +0 -161
  338. warp/tests/sim/test_model.py +0 -226
  339. warp/tests/sim/test_sim_grad.py +0 -287
  340. warp/tests/sim/test_sim_grad_bounce_linear.py +0 -212
  341. warp/tests/sim/test_sim_kinematics.py +0 -98
  342. warp/thirdparty/__init__.py +0 -0
  343. warp_lang-1.9.0.dist-info/RECORD +0 -456
  344. /warp/{fem → _src/fem}/quadrature/__init__.py +0 -0
  345. /warp/{tests/sim → _src/thirdparty}/__init__.py +0 -0
  346. /warp/{thirdparty → _src/thirdparty}/appdirs.py +0 -0
  347. /warp/{thirdparty → _src/thirdparty}/dlpack.py +0 -0
  348. {warp_lang-1.9.0.dist-info → warp_lang-1.10.0rc2.dist-info}/WHEEL +0 -0
  349. {warp_lang-1.9.0.dist-info → warp_lang-1.10.0rc2.dist-info}/licenses/LICENSE.md +0 -0
  350. {warp_lang-1.9.0.dist-info → warp_lang-1.10.0rc2.dist-info}/top_level.txt +0 -0
@@ -1,183 +0,0 @@
1
- <mujoco model="humanoid">
2
-
3
- <statistic extent="2" center="0 0 1"/>
4
-
5
- <option timestep="0.00555"/>
6
-
7
- <default>
8
- <motor ctrlrange="-1 1" ctrllimited="true"/>
9
- <default class="body">
10
- <geom type="capsule" condim="1" friction="1.0 0.05 0.05" solimp=".9 .99 .003" solref=".015 1" material="self"/>
11
- <joint limited="true" type="hinge" damping="0.1" stiffness="5" armature=".007" solimplimit="0 .99 .01"/>
12
- <site size=".04" group="3"/>
13
- <default class="force-torque">
14
- <site type="box" size=".01 .01 .02" rgba="1 0 0 1" />
15
- </default>
16
- <default class="touch">
17
- <site type="capsule" rgba="0 0 1 .3"/>
18
- </default>
19
- </default>
20
- </default>
21
-
22
- <worldbody>
23
- <geom name="floor" type="plane" conaffinity="1" size="100 100 .2" material="grid"/>
24
- <body name="torso" pos="0 0 0" childclass="body">
25
- <light name="top" pos="0 0 2" mode="trackcom"/>
26
- <camera name="back" pos="-3 0 1" xyaxes="0 -1 0 1 0 2" mode="trackcom"/>
27
- <camera name="side" pos="0 -3 1" xyaxes="1 0 0 0 1 2" mode="trackcom"/>
28
- <joint armature="0" damping="0" limited="false" margin="0.01" name="root" pos="0 0 0" type="free"/>
29
- <site name="root" class="force-torque"/>
30
- <geom name="torso" type="capsule" fromto="0 -.07 0 0 .07 0" size=".07"/>
31
- <geom name="upper_waist" type="capsule" fromto="-.01 -.06 -.12 -.01 .06 -.12" size=".06"/>
32
- <site name="torso" class="touch" type="box" pos="0 0 -.05" size=".075 .14 .13"/>
33
- <geom name="head" type="sphere" size=".09" pos="0 0 .19"/>
34
- <body name="lower_waist" pos="-.01 0 -.260" quat="1.000 0 -.002 0">
35
- <geom name="lower_waist" type="capsule" fromto="0 -.06 0 0 .06 0" size=".06"/>
36
- <site name="lower_waist" class="touch" size=".061 .06" zaxis="0 1 0"/>
37
- <joint limited="true" name="abdomen_z" pos="0 0 .065" axis="0 0 1" range="-45 45" damping="5" stiffness="20" armature=".02"/>
38
- <joint limited="true" name="abdomen_y" pos="0 0 .065" axis="0 1 0" range="-75 30" damping="5" stiffness="20" armature=".01"/>
39
- <body name="pelvis" pos="0 0 -.165" quat="1.000 0 -.002 0">
40
- <joint limited="true" name="abdomen_x" pos="0 0 .1" axis="1 0 0" range="-35 35" damping="5" stiffness="10" armature=".01"/>
41
- <geom name="butt" type="capsule" fromto="-.02 -.07 0 -.02 .07 0" size=".09"/>
42
- <site name="butt" class="touch" size=".091 .07" pos="-.02 0 0" zaxis="0 1 0"/>
43
- <body name="right_thigh" pos="0 -.1 -.04">
44
- <site name="right_hip" class="force-torque"/>
45
- <joint limited="true" name="right_hip_x" axis="1 0 0" range="-25 5" damping="5" stiffness="10" armature=".01"/>
46
- <joint limited="true" name="right_hip_z" axis="0 0 1" range="-60 35" damping="5" stiffness="10" armature=".01"/>
47
- <joint limited="true" name="right_hip_y" axis="0 1 0" range="-80 20" damping="5" stiffness="20" armature=".01"/>
48
- <geom name="right_thigh" type="capsule" fromto="0 0 0 0 .01 -.34" size=".06"/>
49
- <site name="right_thigh" class="touch" pos="0 .005 -.17" size=".061 .17" zaxis="0 -1 34"/>
50
- <body name="right_shin" pos="0 .01 -.403">
51
- <site name="right_knee" class="force-torque" pos="0 0 .02"/>
52
- <joint limited="true" name="right_knee" pos="0 0 .02" axis="0 -1 0" range="-160 2"/>
53
- <geom name="right_shin" type="capsule" fromto="0 0 0 0 0 -.3" size=".049"/>
54
- <site name="right_shin" class="touch" pos="0 0 -.15" size=".05 .15"/>
55
- <body name="right_foot" pos="0 0 -.39">
56
- <site name="right_ankle" class="force-torque"/>
57
- <joint limited="true" name="right_ankle_y" pos="0 0 .08" axis="0 1 0" range="-50 50" damping="1.0" stiffness="2" armature=".006"/>
58
- <joint limited="true" name="right_ankle_x" pos="0 0 .08" axis="1 0 .5" range="-50 50" damping="1.0" stiffness="2" armature=".006"/>
59
- <geom name="right_right_foot" type="capsule" fromto="-.07 -.02 0 .14 -.04 0" size=".027"/>
60
- <geom name="left_right_foot" type="capsule" fromto="-.07 0 0 .14 .02 0" size=".027"/>
61
- <site name="right_right_foot" class="touch" pos=".035 -.03 0" size=".03 .11" zaxis="21 -2 0"/>
62
- <site name="left_right_foot" class="touch" pos=".035 .01 0" size=".03 .11" zaxis="21 2 0"/>
63
- </body>
64
- </body>
65
- </body>
66
- <body name="left_thigh" pos="0 .1 -.04">
67
- <site name="left_hip" class="force-torque"/>
68
- <joint limited="true" name="left_hip_x" axis="-1 0 0" range="-25 5" damping="5" stiffness="10" armature=".01"/>
69
- <joint limited="true" name="left_hip_z" axis="0 0 -1" range="-60 35" damping="5" stiffness="10" armature=".01"/>
70
- <joint limited="true" name="left_hip_y" axis="0 1 0" range="-80 20" damping="5" stiffness="20" armature=".01"/>
71
- <geom name="left_thigh" type="capsule" fromto="0 0 0 0 -.01 -.34" size=".06"/>
72
- <site name="left_thigh" class="touch" pos="0 -.005 -.17" size=".061 .17" zaxis="0 1 34"/>
73
- <body name="left_shin" pos="0 -.01 -.403">
74
- <site name="left_knee" class="force-torque" pos="0 0 .02"/>
75
- <joint limited="true" name="left_knee" pos="0 0 .02" axis="0 -1 0" range="-160 2"/>
76
- <geom name="left_shin" type="capsule" fromto="0 0 0 0 0 -.3" size=".049"/>
77
- <site name="left_shin" class="touch" pos="0 0 -.15" size=".05 .15"/>
78
- <body name="left_foot" pos="0 0 -.39">
79
- <site name="left_ankle" class="force-torque"/>
80
- <joint limited="true" name="left_ankle_y" pos="0 0 .08" axis="0 1 0" range="-50 50" damping="1.0" stiffness="2" armature=".006"/>
81
- <joint limited="true" name="left_ankle_x" pos="0 0 .08" axis="1 0 .5" range="-50 50" damping="1.0" stiffness="2" armature=".006"/>
82
- <geom name="left_left_foot" type="capsule" fromto="-.07 .02 0 .14 .04 0" size=".027"/>
83
- <geom name="right_left_foot" type="capsule" fromto="-.07 0 0 .14 -.02 0" size=".027"/>
84
- <site name="right_left_foot" class="touch" pos=".035 -.01 0" size=".03 .11" zaxis="21 -2 0"/>
85
- <site name="left_left_foot" class="touch" pos=".035 .03 0" size=".03 .11" zaxis="21 2 0"/>
86
- </body>
87
- </body>
88
- </body>
89
- </body>
90
- </body>
91
- <body name="right_upper_arm" pos="0 -.17 .06">
92
- <joint limited="true" name="right_shoulder1" axis="2 1 1" range="-60 60" damping="5" stiffness="10" armature=".01"/>
93
- <joint limited="true" name="right_shoulder2" axis="0 -1 1" range="-60 60" damping="5" stiffness="10" armature=".01"/>
94
- <geom name="right_upper_arm" type="capsule" fromto="0 0 0 .16 -.16 -.16" size=".04 .16"/>
95
- <site name="right_upper_arm" class="touch" pos=".08 -.08 -.08" size=".041 .14" zaxis="1 -1 -1"/>
96
- <body name="right_lower_arm" pos=".18 -.18 -.18">
97
- <joint limited="true" name="right_elbow" axis="0 -1 1" range="-90 50" damping="1.0" stiffness="2" armature=".006"/>
98
- <geom name="right_lower_arm" type="capsule" fromto=".01 .01 .01 .17 .17 .17" size=".031"/>
99
- <site name="right_lower_arm" class="touch" pos=".09 .09 .09" size=".032 .14" zaxis="1 1 1"/>
100
- <geom name="right_hand" type="sphere" size=".04" pos=".18 .18 .18"/>
101
- </body>
102
- </body>
103
- <body name="left_upper_arm" pos="0 .17 .06">
104
- <joint limited="true" name="left_shoulder1" axis="-2 1 -1" range="-60 60" damping="5" stiffness="10" armature=".01"/>
105
- <joint limited="true" name="left_shoulder2" axis="0 -1 -1" range="-60 60" damping="5" stiffness="10" armature=".01"/>
106
- <geom name="left_upper_arm" type="capsule" fromto="0 0 0 .16 .16 -.16" size=".04 .16"/>
107
- <site name="left_upper_arm" class="touch" pos=".08 .08 -.08" size=".041 .14" zaxis="1 1 -1"/>
108
- <body name="left_lower_arm" pos=".18 .18 -.18">
109
- <joint limited="true" name="left_elbow" axis="0 -1 -1" range="-90 50" damping="1.0" stiffness="2" armature=".006"/>
110
- <geom name="left_lower_arm" type="capsule" fromto=".01 -.01 .01 .17 -.17 .17" size=".031"/>
111
- <site name="left_lower_arm" class="touch" pos=".09 -.09 .09" size=".032 .14" zaxis="1 -1 1"/>
112
- <geom name="left_hand" type="sphere" size=".04" pos=".18 -.18 .18"/>
113
- </body>
114
- </body>
115
- </body>
116
- </worldbody>
117
-
118
- <actuator>
119
- <motor name='abdomen_y' gear='67.5' joint='abdomen_y'/>
120
- <motor name='abdomen_z' gear='67.5' joint='abdomen_z'/>
121
- <motor name='abdomen_x' gear='67.5' joint='abdomen_x'/>
122
- <motor name='right_hip_x' gear='45.0' joint='right_hip_x'/>
123
- <motor name='right_hip_z' gear='45.0' joint='right_hip_z'/>
124
- <motor name='right_hip_y' gear='135.0' joint='right_hip_y'/>
125
- <motor name='right_knee' gear='90.0' joint='right_knee'/>
126
- <motor name='right_ankle_x' gear='22.5' joint='right_ankle_x'/>
127
- <motor name='right_ankle_y' gear='22.5' joint='right_ankle_y'/>
128
- <motor name='left_hip_x' gear='45.0' joint='left_hip_x'/>
129
- <motor name='left_hip_z' gear='45.0' joint='left_hip_z'/>
130
- <motor name='left_hip_y' gear='135.0' joint='left_hip_y'/>
131
- <motor name='left_knee' gear='90.0' joint='left_knee'/>
132
- <motor name='left_ankle_x' gear='22.5' joint='left_ankle_x'/>
133
- <motor name='left_ankle_y' gear='22.5' joint='left_ankle_y'/>
134
- <motor name='right_shoulder1' gear='67.5' joint='right_shoulder1'/>
135
- <motor name='right_shoulder2' gear='67.5' joint='right_shoulder2'/>
136
- <motor name='right_elbow' gear='45.0' joint='right_elbow'/>
137
- <motor name='left_shoulder1' gear='67.5' joint='left_shoulder1'/>
138
- <motor name='left_shoulder2' gear='67.5' joint='left_shoulder2'/>
139
- <motor name='left_elbow' gear='45.0' joint='left_elbow'/>
140
- </actuator>
141
-
142
- <sensor>
143
- <subtreelinvel name="torso_subtreelinvel" body="torso"/>
144
- <accelerometer name="torso_accel" site="root"/>
145
- <velocimeter name="torso_vel" site="root"/>
146
- <gyro name="torso_gyro" site="root"/>
147
-
148
- <force name="left_ankle_force" site="left_ankle"/>
149
- <force name="right_ankle_force" site="right_ankle"/>
150
- <force name="left_knee_force" site="left_knee"/>
151
- <force name="right_knee_force" site="right_knee"/>
152
- <force name="left_hip_force" site="left_hip"/>
153
- <force name="right_hip_force" site="right_hip"/>
154
-
155
- <torque name="left_ankle_torque" site="left_ankle"/>
156
- <torque name="right_ankle_torque" site="right_ankle"/>
157
- <torque name="left_knee_torque" site="left_knee"/>
158
- <torque name="right_knee_torque" site="right_knee"/>
159
- <torque name="left_hip_torque" site="left_hip"/>
160
- <torque name="right_hip_torque" site="right_hip"/>
161
-
162
- <touch name="torso_touch" site="torso"/>
163
- <touch name="head_touch" site="head"/>
164
- <touch name="lower_waist_touch" site="lower_waist"/>
165
- <touch name="butt_touch" site="butt"/>
166
- <touch name="right_thigh_touch" site="right_thigh"/>
167
- <touch name="right_shin_touch" site="right_shin"/>
168
- <touch name="right_right_foot_touch" site="right_right_foot"/>
169
- <touch name="left_right_foot_touch" site="left_right_foot"/>
170
- <touch name="left_thigh_touch" site="left_thigh"/>
171
- <touch name="left_shin_touch" site="left_shin"/>
172
- <touch name="right_left_foot_touch" site="right_left_foot"/>
173
- <touch name="left_left_foot_touch" site="left_left_foot"/>
174
- <touch name="right_upper_arm_touch" site="right_upper_arm"/>
175
- <touch name="right_lower_arm_touch" site="right_lower_arm"/>
176
- <touch name="right_hand_touch" site="right_hand"/>
177
- <touch name="left_upper_arm_touch" site="left_upper_arm"/>
178
- <touch name="left_lower_arm_touch" site="left_lower_arm"/>
179
- <touch name="left_hand_touch" site="left_hand"/>
180
- </sensor>
181
-
182
- </mujoco>
183
-
@@ -1,268 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
-
3
- <robot name="quadruped">
4
- <link name="base">
5
- <collision>
6
- <origin rpy="0 1.57079632679 0" xyz="0 0 0"/>
7
- <geometry>
8
- <cylinder length="0.75" radius="0.1"/>
9
- </geometry>
10
- </collision>
11
- <inertial>
12
- <origin rpy="0 0 0" xyz="0 0 0.024"/>
13
- <mass value="6.222"/>
14
- <inertia ixx="0.017938806" ixy="0.00387963" ixz="0.001500772" iyy="0.370887745" iyz="6.8963e-05" izz="0.372497653"/>
15
- </inertial>
16
- </link>
17
-
18
- <joint name="LF_HAA" type="revolute">
19
- <parent link="base"/>
20
- <child link="LF_HAA"/>
21
- <axis xyz="1 0 0"/>
22
- <limit effort="80.0" velocity="20." />
23
- <origin rpy="0 0 0" xyz="0.2999 0.104 0.0"/>
24
- </joint>
25
- <link name="LF_HAA">
26
- <collision>
27
- <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
28
- <geometry>
29
- <cylinder length="0.05" radius="0.04"/>
30
- </geometry>
31
- </collision>
32
- <inertial>
33
- <origin rpy="0 0 0" xyz="0 0 0.00046"/>
34
- <mass value="2.04"/>
35
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
36
- </inertial>
37
- </link>
38
- <joint name="LF_HFE" type="revolute">
39
- <parent link="LF_HAA"/>
40
- <child link="LF_THIGH"/>
41
- <origin rpy="0 0 1.57079632679" xyz="0 0.05 0"/>
42
- <axis xyz="1 0 0"/>
43
- <limit effort="80.0" velocity="20." />
44
- <dynamics damping="0.0" friction="0.0"/>
45
- </joint>
46
- <link name="LF_THIGH">
47
- <collision>
48
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
49
- <geometry>
50
- <cylinder length="0.25" radius="0.02"/>
51
- </geometry>
52
- </collision>
53
- <inertial>
54
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
55
- <mass value="2.04"/>
56
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
57
- </inertial>
58
- </link>
59
- <joint name="LF_KFE" type="revolute">
60
- <parent link="LF_THIGH"/>
61
- <child link="LF_SHANK"/>
62
- <origin rpy="0 0 0" xyz="0 0.0 -0.25"/>
63
- <axis xyz="1 0 0"/>
64
- <limit effort="80.0" velocity="20." />
65
- <dynamics damping="0.0" friction="0.0"/>
66
- </joint>
67
- <link name="LF_SHANK">
68
- <collision>
69
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
70
- <geometry>
71
- <cylinder length="0.25" radius="0.02"/>
72
- </geometry>
73
- </collision>
74
- <inertial>
75
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
76
- <mass value="2.04"/>
77
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
78
- </inertial>
79
- </link>
80
- <joint name="RF_HAA" type="revolute">
81
- <parent link="base"/>
82
- <child link="RF_HAA"/>
83
- <axis xyz="1 0 0"/>
84
- <limit effort="80.0" velocity="20." />
85
- <origin rpy="0 0 0" xyz="0.2999 -0.104 0.0"/>
86
- </joint>
87
- <link name="RF_HAA">
88
- <collision>
89
- <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
90
- <geometry>
91
- <cylinder length="0.05" radius="0.04"/>
92
- </geometry>
93
- </collision>
94
- <inertial>
95
- <origin rpy="0 0 0" xyz="0 0 0.00046"/>
96
- <mass value="2.04"/>
97
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
98
- </inertial>
99
- </link>
100
- <joint name="RF_HFE" type="revolute">
101
- <parent link="RF_HAA"/>
102
- <child link="RF_THIGH"/>
103
- <origin rpy="0 0 -1.57079632679" xyz="0 -0.05 0"/>
104
- <axis xyz="1 0 0"/>
105
- <limit effort="80.0" velocity="20." />
106
- <dynamics damping="0.0" friction="0.0"/>
107
- </joint>
108
- <link name="RF_THIGH">
109
- <collision>
110
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
111
- <geometry>
112
- <cylinder length="0.25" radius="0.02"/>
113
- </geometry>
114
- </collision>
115
- <inertial>
116
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
117
- <mass value="2.04"/>
118
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
119
- </inertial>
120
- </link>
121
- <joint name="RF_KFE" type="revolute">
122
- <parent link="RF_THIGH"/>
123
- <child link="RF_SHANK"/>
124
- <origin rpy="0 0 0" xyz="0 0.0 -0.25"/>
125
- <axis xyz="1 0 0"/>
126
- <limit effort="80.0" velocity="20." />
127
- <dynamics damping="0.0" friction="0.0"/>
128
- </joint>
129
- <link name="RF_SHANK">
130
- <collision>
131
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
132
- <geometry>
133
- <cylinder length="0.25" radius="0.02"/>
134
- </geometry>
135
- </collision>
136
- <inertial>
137
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
138
- <mass value="2.04"/>
139
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
140
- </inertial>
141
- </link>
142
-
143
- <joint name="LH_HAA" type="revolute">
144
- <parent link="base"/>
145
- <child link="LH_HAA"/>
146
- <axis xyz="1 0 0"/>
147
- <limit effort="80.0" velocity="20." />
148
- <origin rpy="0 0 3.1415" xyz="-0.2999 0.104 0.0"/>
149
- </joint>
150
- <link name="LH_HAA">
151
- <collision>
152
- <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
153
- <geometry>
154
- <cylinder length="0.05" radius="0.04"/>
155
- </geometry>
156
- </collision>
157
- <inertial>
158
- <origin rpy="0 0 0" xyz="0 0 0.00046"/>
159
- <mass value="2.04"/>
160
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
161
- </inertial>
162
- </link>
163
- <joint name="LH_HFE" type="revolute">
164
- <parent link="LH_HAA"/>
165
- <child link="LH_THIGH"/>
166
- <origin rpy="0 0 1.57079632679" xyz="0 -0.05 0"/>
167
- <axis xyz="1 0 0"/>
168
- <limit effort="80.0" velocity="20." />
169
- <dynamics damping="0.0" friction="0.0"/>
170
- </joint>
171
- <link name="LH_THIGH">
172
- <collision>
173
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
174
- <geometry>
175
- <cylinder length="0.25" radius="0.02"/>
176
- </geometry>
177
- </collision>
178
- <inertial>
179
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
180
- <mass value="2.04"/>
181
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
182
- </inertial>
183
- </link>
184
- <joint name="LH_KFE" type="revolute">
185
- <parent link="LH_THIGH"/>
186
- <child link="LH_SHANK"/>
187
- <origin rpy="0 0 0" xyz="0 0.0 -0.25"/>
188
- <axis xyz="1 0 0"/>
189
- <limit effort="80.0" velocity="20." />
190
- <dynamics damping="0.0" friction="0.0"/>
191
- </joint>
192
- <link name="LH_SHANK">
193
- <collision>
194
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
195
- <geometry>
196
- <cylinder length="0.25" radius="0.02"/>
197
- </geometry>
198
- </collision>
199
- <inertial>
200
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
201
- <mass value="2.04"/>
202
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
203
- </inertial>
204
- </link>
205
- <joint name="RH_HAA" type="revolute">
206
- <parent link="base"/>
207
- <child link="RH_HAA"/>
208
- <axis xyz="1 0 0"/>
209
- <limit effort="80.0" velocity="20." />
210
- <origin rpy="0 0 3.1415" xyz="-0.2999 -0.104 0.0"/>
211
- </joint>
212
- <link name="RH_HAA">
213
- <collision>
214
- <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
215
- <geometry>
216
- <cylinder length="0.05" radius="0.04"/>
217
- </geometry>
218
- </collision>
219
- <inertial>
220
- <origin rpy="0 0 0" xyz="0 0 0.00046"/>
221
- <mass value="2.04"/>
222
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
223
- </inertial>
224
- </link>
225
- <joint name="RH_HFE" type="revolute">
226
- <parent link="RH_HAA"/>
227
- <child link="RH_THIGH"/>
228
- <origin rpy="0 0 -1.57079632679" xyz="0 0.05 0"/>
229
- <axis xyz="1 0 0"/>
230
- <limit effort="80.0" velocity="20." />
231
- <dynamics damping="0.0" friction="0.0"/>
232
- </joint>
233
- <link name="RH_THIGH">
234
- <collision>
235
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
236
- <geometry>
237
- <cylinder length="0.25" radius="0.02"/>
238
- </geometry>
239
- </collision>
240
- <inertial>
241
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
242
- <mass value="2.04"/>
243
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
244
- </inertial>
245
- </link>
246
- <joint name="RH_KFE" type="revolute">
247
- <parent link="RH_THIGH"/>
248
- <child link="RH_SHANK"/>
249
- <origin rpy="0 0 0" xyz="0 0.0 -0.25"/>
250
- <axis xyz="1 0 0"/>
251
- <limit effort="80.0" velocity="20." />
252
- <dynamics damping="0.0" friction="0.0"/>
253
- </joint>
254
- <link name="RH_SHANK">
255
- <collision>
256
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
257
- <geometry>
258
- <cylinder length="0.25" radius="0.02"/>
259
- </geometry>
260
- </collision>
261
- <inertial>
262
- <origin rpy="0 0 0" xyz="0 0 -0.125"/>
263
- <mass value="2.04"/>
264
- <inertia ixx="0.001053013" ixy="4.527e-05" ixz="8.855e-05" iyy="0.001805509" iyz="9.909e-05" izz="0.001765827"/>
265
- </inertial>
266
- </link>
267
-
268
- </robot>