mujoco-warp 0.0.1__tar.gz
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.
- mujoco_warp-0.0.1/AUTHORS +10 -0
- mujoco_warp-0.0.1/LICENSE +202 -0
- mujoco_warp-0.0.1/PKG-INFO +184 -0
- mujoco_warp-0.0.1/README.md +140 -0
- mujoco_warp-0.0.1/mujoco_warp/__init__.py +91 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/__init__.py +14 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/benchmark.py +264 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/block_cholesky.py +135 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/broadphase_test.py +332 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/collision_convex.py +1369 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/collision_driver.py +729 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/collision_driver_test.py +993 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/collision_gjk.py +2375 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/collision_gjk_test.py +621 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/collision_primitive.py +1815 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/collision_primitive_core.py +1407 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/collision_sdf.py +936 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/constraint.py +2040 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/constraint_test.py +255 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/derivative.py +292 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/derivative_test.py +124 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/forward.py +990 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/forward_test.py +517 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/inverse.py +163 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/inverse_test.py +171 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/io.py +1442 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/io_jax_test.py +247 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/io_test.py +614 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/jax_test.py +101 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/math.py +304 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/math_test.py +131 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/passive.py +848 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/passive_test.py +210 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/ray.py +1008 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/ray_test.py +319 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/sensor.py +2860 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/sensor_test.py +864 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/smooth.py +3067 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/smooth_test.py +509 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/solver.py +2167 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/solver_test.py +482 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/support.py +825 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/support_test.py +335 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/types.py +1747 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/types_test.py +79 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/unroll_test.py +62 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/util_misc.py +631 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/util_misc_test.py +572 -0
- mujoco_warp-0.0.1/mujoco_warp/_src/warp_util.py +227 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/__init__.py +106 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/__pycache__/__init__.cpython-313.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/actuation/actuation.xml +40 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/actuation/actuators.xml +28 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/actuation/adhesion.xml +21 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/actuation/muscle.xml +22 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/actuation/position.xml +40 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/actuation/site.xml +31 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/actuation/slidercrank.xml +15 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/actuation/tendon_force_limit.xml +26 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/__pycache__/__init__.cpython-312.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/__pycache__/benchmark.cpython-312.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/angled_extrusion-2b8426c7d466d59b03a7f048c5304d28205b3069.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/corner_bracket-c4129cf77510d68c89cf2ddf67bd36dacef387b3.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/d405_solid-a35f08a7e5e7488eb120fc62c3e6458e6be0f956.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/extrusion_1000-421ca8ed83291edde7bc9ab61d7d4828b37b0343.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/extrusion_1220-a3c8ad369e839057b4e10539978b87e39b5f81bf.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/extrusion_150-62e2ad6e912937b9c5f0ebde8e23f34ff982455a.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/extrusion_2040_1000-3ae7ca5723c6e8bedf8a1138046f5419c7440b72.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/extrusion_2040_880-df10c72c0b4ae36b2e4f79e29fe1fe8f3a9a678a.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/extrusion_600-87df49f763bf3784925b76eab16d8c28641a4529.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-10_col_collision_0-208fe51a40113c78c2172ae79d2d0b8a5d9002d1.obj +1338 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-10_col_collision_1-e1c239941aa3757c1a8c08c0e7ac9ce503ec8d05.obj +570 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-10_col_collision_2-e190f600631515ffcf851e485d44658c713792e2.obj +1134 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-11_col_collision_0-a478c968f22f8fb86ec096bfa4739e8fa1eeceaf.obj +141 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-13_col_collision_0-0cd922b53e782e2add994cbafff464e869755941.obj +411 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-13_col_collision_1-88e56b18a79a8daec67f71cf3dfb02c50659863c.obj +375 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-13_col_collision_2-ec8e1afc2bcaa23895712349e76fcd00eb0bd33f.obj +345 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-13_col_collision_3-722d5fffa71966e308e7f2993748005d70a874c9.obj +405 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-13_col_collision_4-61a0de5070f55e2bb145b0122ecba1848e40cae6.obj +420 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-13_col_collision_5-f927db3114dd0fe49bd66244990f88c818c756b3.obj +402 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-13_col_collision_6-cfce18dc0d773030ae0aeb24475d7789b68e858e.obj +327 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-13_col_collision_7-d3a6f38e04f915c4ac7c0a5134a0b680881190b8.obj +435 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_0-778f4a2bfbfe1a245ef5339cf88ba2d67f6047e3.obj +882 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_1-ee44d4c9c075207d4618aa4990a635cce9621dd7.obj +576 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_2-74987c61a726a3ac722b52fb4eee10763febd48d.obj +603 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_3-928a14acef9d0fb5ceb5658cdb1e61bbec00b058.obj +972 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_4-8977d2ce50ff654661aea7888c3851962f049c9c.obj +489 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_5-c336653cef4a18fe2bc8967e34ca58404b73fa4d.obj +567 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_6-6493d308c471712f4b27bd7ac69e433f779b31a6.obj +903 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_7-403fcdc88dfbd4473e87852461b45193c22f7a5d.obj +537 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-14_col_collision_8-634b94344d8aa949eb4e59ce7cfc72e6c6421751.obj +705 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-17_col_collision_0-b439e444107a6087da79e6278eafc574c027bcd0.obj +2712 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-17_col_collision_1-ca56bb587dfb53ac2dc9a1b879f6ee4621776c47.obj +3042 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-17_col_collision_2-98d1a01665521786bae65a8926f051b0bfdbdbd6.obj +2736 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-17_col_collision_3-213ea4e7a3d15bd82c74f43117462d5098777802.obj +3015 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-19_0-7a5956077c32ec52183ba6330c26f2388b662199.obj +1051 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-19_col_collision_0-ea922fffdad3044d90075c80dcb505681d487cb5.obj +141 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_0-51797f8472c190ed84c6122055337442976fd74e.obj +2591 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_0-c8948b4fccbd63e4c4835435b6e32c87f0cd1b5b.obj +585 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_1-2708605fa032bbd3c3458a0823fc3adb4e6095d1.obj +618 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_10-225221cb64e522621919eddad8b1cbb56367ee40.obj +225 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_11-e3ef67903a31437ad5b27e2f0fca54596d68a026.obj +285 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_12-b44e24db22fafda8618c5c5c784debc3c74d4298.obj +279 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_13-cbc5cc87f26f9079dec574f7683dfd9e950cd10e.obj +258 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_14-8e8dfdca17412c2cacd2d3558f53110d9f9df0f2.obj +264 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_15-3a6e65dc60499d1b3ebabafd73eef5615cefc236.obj +306 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_16-3104b26d016115d98af353973731e730d3a6dc0a.obj +231 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_17-df37344b83d744900ac4fc2ca3397c2da1dba5cc.obj +267 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_18-e24714646f4c886da3b1472b959a9ada8f08333b.obj +258 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_2-3b94f002a719c9606862e1fb1227f9110825bb79.obj +594 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_3-e4933c58c0e8ad8b2de88ff6af7f4293ad96929c.obj +615 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_4-5465a7ef409ce22edd43097a0569168883c3eb5c.obj +399 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_5-d03b05250829877106a511befd9cf6fa8823675a.obj +282 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_6-12a5679233100eec0a3295abb54b1b7b9b4b0839.obj +225 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_7-2374e4da93bd05a4065813d1d2efe3cd2102dfe7.obj +300 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_8-d140e96d3a62e6fac0428a167cc13de2f120c57a.obj +267 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-21_col_collision_9-6edf8358c6c7f7dd89929ae63b66ef778bd8746c.obj +219 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_0-b6923025c8be39433f5b8ef1fac9d74f5ba3556b.obj +1443 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_col_collision_0-db5abc551d7a44ee3d4d97301c152cb05af78767.obj +522 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_col_collision_1-96400f78b8859f07b401002cd19ffaa952da7468.obj +537 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_col_collision_2-8a318237a2ff73b64244d87128194ea897852e93.obj +543 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_col_collision_3-df7c5e4cd695911b0efeafbf97c62e1a82418c67.obj +516 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_col_collision_4-dc9963e0fb42ed6852e78415fdc74faa645347ee.obj +387 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_col_collision_5-6bcda3d287d1cfcabe91c62bc3aa506569f518b7.obj +522 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_col_collision_6-60b9408de472c6c15fcfe0ddb302b65c5bf9e960.obj +567 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-22_col_collision_7-9382299967302621d8e6ed94305028a9b209dfd2.obj +498 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_0-34c5d4471387579448d36399cc44ef392e8ef355.obj +863 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_0-12ce5ed902c7b7a8a0c407f48118fff68016dfec.obj +462 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_1-d498452198415d0e7d49f87079b6eeca643a356f.obj +459 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_10-73c4c0aeef953ee56e3531c0f2ae64b2dc3655ce.obj +249 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_11-8b7a70b9746eb429fd6fb1555649ae813a4cee43.obj +231 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_12-486a9bb9b03dc60fb32bb6ca9f7fddbd172f08fa.obj +165 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_13-920bb87696882db99697715207acc1d326b62947.obj +207 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_14-f1351b3484dabfb2999f03923638186f714e52ae.obj +234 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_15-f8ede1030270611430302fee1fc06cf8f6a8c101.obj +195 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_16-d605d61a021487a768f29be67bf681bf19bbbd36.obj +192 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_17-c3f2ecf0799db93fd1d265370bb939e0f33c5c18.obj +201 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_18-bb412f7d3891d34d1425bf5829dcdb9576b7fee5.obj +267 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_2-6f4cedd984c14af625555605dec4650b7286d5fa.obj +462 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_3-b71ea9d6f39011787da8fbb18f65ed5932cd23db.obj +459 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_4-ea78c38f2458a8e06326875928b64ea676c3a083.obj +300 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_5-d519cc650173b632bc1329ddf4c2ddcf9337d5cd.obj +234 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_6-5a7124ea953dd835721ae4893a0d480c6202e9fc.obj +195 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_7-552ef675dbe9332f84d2ec2bd523ca31c5fc9c21.obj +189 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_8-a4f5b867c535a7b91a54511fd9e36eee82e9b943.obj +174 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-23_col_collision_9-c3b5946fc3874b7ebfd1ac0f0a2bac3407b6d1ad.obj +192 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-25_0-b85ee4e74c9ce3b86d1b7233bfccb4f6e11876c9.obj +1946 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-25_0-b85ee4e74c9ce3b86d1b7233bfccb4f6e11876c9.obj.mtl +13 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-25_col_collision_0-0f44eed200b016b11d4936140ec35102f9e8d4ab.obj +3459 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-25_col_collision_1-16ef9250fff030b5c0cc3df5565b7763875b1f11.obj +906 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-26_0-0d95d51ef7bde4cdca2697b29a7e58076df9cb5f.obj +1946 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-26_0-0d95d51ef7bde4cdca2697b29a7e58076df9cb5f.obj.mtl +13 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-26_col_collision_0-259901813433e123bb23132256974b4cbb27f450.obj +3471 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-26_col_collision_1-87f2f4ceb88b73a331d804f2c4658746126af80f.obj +903 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-27_0-078a04b6db2eff1ca910caab9aa265d77782cc6d.obj +1039 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-27_col_collision_0-c5b903ddd2b86d74a023dc3caa2977ddb0414ae8.obj +141 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-29_0-59204bd53e09bed87fb790d0204e6bc9aa92673b.obj +1942 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-29_0-59204bd53e09bed87fb790d0204e6bc9aa92673b.obj.mtl +13 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-29_col_collision_0-898f82718a43061e3f7d46041e964fe213a45c18.obj +3303 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-29_col_collision_1-c2c4706030166e8c1b0834f343d6812fdc8623e0.obj +816 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-30_0-2cca1674b22089a5c0558949aa539d95f5fe9039.obj +1942 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-30_0-2cca1674b22089a5c0558949aa539d95f5fe9039.obj.mtl +13 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-30_col_collision_0-18bf7ffccaf2bf740bd3134f32fa2c221678fa0f.obj +3474 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-30_col_collision_1-249061bdc92ac3a5e4ee6614811f4d022863ac30.obj +891 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-31_0-fac36bb29d030fdd3ee6d3150c46429a2c01fb6a.obj +1039 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-31_col_collision_0-d7dd02393237429b33a2296feda0a0f2e3887e90.obj +141 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_0-98c614ac600458b2d5a77e9abf8ac3930d0b3f01.obj +1198 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_0-98c614ac600458b2d5a77e9abf8ac3930d0b3f01.obj.mtl +13 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_0-03fd8fe1964def48aa4fe42635f9542bc6015573.obj +411 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_1-543900e1c3bad73bd2b2a016cf4ae951dc16a798.obj +354 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_2-6cc34f530a06ad54b80a9006aaf215bbac9509fa.obj +447 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_3-e12322ca1c81b79a05bff62846ac490b8d1ac3d4.obj +435 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_4-edc2a944b721ef784d23454f3252f30bae943bd2.obj +393 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_5-7b80b71c4d74bf20ac97b1f0875e34a789547c53.obj +399 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_6-6a99b40aab7dab531fef77ff92bdec5a3410b9bc.obj +384 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_7-2a8b7651225ffadfd716665f99970af90a86e52f.obj +276 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-5_col_collision_8-f3ede03f8a622ddcc01fc62430a1d6c807741421.obj +327 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_0-15e7a1ee44f3e24dd5a8973509e8efd2b0169c8c.obj +1184 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_0-15e7a1ee44f3e24dd5a8973509e8efd2b0169c8c.obj.mtl +13 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_col_collision_0-91dd649f5629943594425caa55f1e4d5a4e93e0d.obj +753 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_col_collision_1-d99b4cd611d64e52b1529afd3668ba7bed221919.obj +627 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_col_collision_2-a2fcfa80779b37d0b35006ff6ff99d1e2d77e774.obj +612 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_col_collision_3-118912a3efd6064071faf75a14023617d7a29750.obj +795 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_col_collision_4-a5d16325a58a37ef9fa2bbdaf15b6d20f798e33e.obj +753 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_col_collision_5-da44cc1653ede725016118d7cdd0eceb1af55583.obj +672 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_col_collision_6-ebfef0d9372bf84dec2f832426530128338bbfb2.obj +654 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-6_col_collision_7-dbb4279ab8f42b3a35de1b776130701108a50bc3.obj +720 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_0-d32d72dd026c36e9694154a5d8aba6193d1c1878.obj +675 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_0-3638c6eae9bf1f3ae55798660678516b5820fc46.obj +417 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_1-616d2b3c89ad237434b655c8490aa663274cb58f.obj +372 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_2-25c9e799427a1745776a8110a2b9aeb34cb5d3b3.obj +378 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_3-27e866ca632c952bcd7e8fb4d08b1c02ca70230f.obj +405 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_4-06b9a772794eb9b36235a69486bb86d42e381ad2.obj +384 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_5-4b6a8bb29df4bfb7dcc3af405310880df1109f0b.obj +327 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_6-505d98f451863b8794bb95c618796c8c752c6518.obj +423 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_7-2e466ad73a6129bf39af3c092662bc00b560a663.obj +219 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-7_col_collision_8-7f396c1ac75f494900bf8db473bcc89d6412342d.obj +300 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/original-8_col_collision_0-3e66afde19240856451b0fc8f5e31590e7e998f0.obj +141 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/overhead_mount-2edf90098757a980b68bc9b546bddce3257c7263.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/scene.xml +633 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/table_mesh_mapped-6c055adb309111efb32fb9fc0417883865cf9bf2.obj +414 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/tablelegs-d0aaf6399ee429de60273fe61f29a7a7fcd20440.obj +370 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/tabletop-2972d9cc47a6f6792f1b4a7fd4ac6e6862d06105.obj +190 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_1_base-8911efddeb54716caf91218e0beee848e0083aad.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_2_shoulder-5dee3af162e071b59ae35b1b7279fe257c375ffb.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_3_upper_arm-f0b3692a22ad52ba9b3c439033c552c51222ed28.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_4_upper_forearm-6d4b69653fd0cc02e83bb7d65ba3e7ec1604b71c.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_5_lower_forearm-8555d345ad2564df22bcbd24557f5a69d362ef68.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_6_wrist-b3facdc0498ab0119fb164f573de994a27c7401e.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_7_gripper_bar-c5f4b35b626deb7894668277f953fc4143ad9898.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_7_gripper_prop-fb8e61f159d0594d74deb8fabda682e9971dc2b5.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_7_gripper_wrist_mount-61d29471843d7ca6e0e8a970bdc9256a822c8b15.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_8_custom_finger_left-bf982864f8591ef106a4b771fc7502c724ef3d7c.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/vx300s_8_custom_finger_right-41349941da5624f43b137273d462f62ab9605c36.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/aloha_pot/wormseye_mount-4ac7acdce0b7e4d90ec0ec56b4fcd8a7ff0cf2e7.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision.xml +43 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/__pycache__/bolt.cpython-312.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/__pycache__/bolt.cpython-313.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/__pycache__/gear.cpython-313.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/__pycache__/nut.cpython-312.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/__pycache__/nut.cpython-313.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/__pycache__/torus.cpython-313.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/__pycache__/utils.cpython-312.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/__pycache__/utils.cpython-313.pyc +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/asset/README.md +2 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/asset/die.obj +296 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/asset/spot.obj +12011 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/asset/spot.png +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/bolt.py +70 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/cow.xml +53 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/gear.py +144 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/mesh.xml +34 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/nut.py +65 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/nutbolt.xml +56 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/scene.xml +38 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/tactile.xml +66 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/torus.py +34 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/torus.xml +8 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/collision_sdf/utils.py +111 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/constraints.xml +114 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/flex/floppy.xml +51 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/flex/scene.xml +41 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/hfield/hfield.xml +84 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/humanoid/humanoid.xml +252 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/humanoid/n_humanoid.xml +34 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/meshes/dodecahedron.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/meshes/tetrahedron.stl +0 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/pendula.xml +179 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/ray.xml +21 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/armature.xml +19 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/damping.xml +20 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/fixed.xml +29 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/fixed_site.xml +35 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/pulley_fixed_site.xml +36 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/pulley_site.xml +46 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/pulley_site_fixed.xml +32 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/pulley_wrap.xml +42 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/site.xml +44 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/site_fixed.xml +31 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/tendon_limit.xml +29 -0
- mujoco_warp-0.0.1/mujoco_warp/test_data/tendon/wrap.xml +40 -0
- mujoco_warp-0.0.1/mujoco_warp/testspeed.py +240 -0
- mujoco_warp-0.0.1/mujoco_warp/viewer.py +213 -0
- mujoco_warp-0.0.1/mujoco_warp.egg-info/PKG-INFO +184 -0
- mujoco_warp-0.0.1/mujoco_warp.egg-info/SOURCES.txt +269 -0
- mujoco_warp-0.0.1/mujoco_warp.egg-info/dependency_links.txt +1 -0
- mujoco_warp-0.0.1/mujoco_warp.egg-info/entry_points.txt +3 -0
- mujoco_warp-0.0.1/mujoco_warp.egg-info/requires.txt +22 -0
- mujoco_warp-0.0.1/mujoco_warp.egg-info/top_level.txt +1 -0
- mujoco_warp-0.0.1/pyproject.toml +120 -0
- mujoco_warp-0.0.1/setup.cfg +4 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# This is the list of significant contributors to mjWarp.
|
|
2
|
+
#
|
|
3
|
+
# This does not necessarily list everyone who has contributed code,
|
|
4
|
+
# especially since many employees of one corporation may be contributing.
|
|
5
|
+
# To see the full list of contributors, see the revision history in
|
|
6
|
+
# source control.
|
|
7
|
+
|
|
8
|
+
Google LLC
|
|
9
|
+
NVIDIA Corporation
|
|
10
|
+
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mujoco-warp
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: MuJoCo Warp (MJWarp)
|
|
5
|
+
Author-email: Newton Developers <mujoco@deepmind.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/google-deepmind/mujoco_warp
|
|
8
|
+
Project-URL: Documentation, https://mujoco.readthedocs.io
|
|
9
|
+
Project-URL: Repository, https://github.com/google-deepmind/mujoco_warp
|
|
10
|
+
Project-URL: Changelog, https://mujoco.readthedocs.io/en/stable/changelog.html
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: Natural Language :: English
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
License-File: AUTHORS
|
|
24
|
+
Requires-Dist: absl-py
|
|
25
|
+
Requires-Dist: etils[epath]
|
|
26
|
+
Requires-Dist: mujoco>=3.3.7
|
|
27
|
+
Requires-Dist: numpy
|
|
28
|
+
Requires-Dist: warp-lang>=1.9.1
|
|
29
|
+
Provides-Extra: dev
|
|
30
|
+
Requires-Dist: asv; extra == "dev"
|
|
31
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
32
|
+
Requires-Dist: pytest; extra == "dev"
|
|
33
|
+
Requires-Dist: pytest-xdist; extra == "dev"
|
|
34
|
+
Requires-Dist: ruff; extra == "dev"
|
|
35
|
+
Requires-Dist: pygls<2.0.0,>=1.0.0; extra == "dev"
|
|
36
|
+
Requires-Dist: lsprotocol<2024.0.0,>=2023.0.1; extra == "dev"
|
|
37
|
+
Requires-Dist: mujoco>=3.3.7.dev0; extra == "dev"
|
|
38
|
+
Requires-Dist: warp-lang>=1.9.1.dev0; extra == "dev"
|
|
39
|
+
Provides-Extra: cpu
|
|
40
|
+
Requires-Dist: jax; extra == "cpu"
|
|
41
|
+
Provides-Extra: cuda
|
|
42
|
+
Requires-Dist: jax[cuda12]; extra == "cuda"
|
|
43
|
+
Dynamic: license-file
|
|
44
|
+
|
|
45
|
+
<p>
|
|
46
|
+
<a href="https://github.com/google-deepmind/mujoco_warp/actions/workflows/ci.yml?query=branch%3Amain" alt="GitHub Actions">
|
|
47
|
+
<img src="https://img.shields.io/github/actions/workflow/status/google-deepmind/mujoco_warp/ci.yml?branch=main">
|
|
48
|
+
</a>
|
|
49
|
+
<a href="https://mujoco.readthedocs.io/en/latest/mjwarp/index.html" alt="Documentation">
|
|
50
|
+
<img src="https://readthedocs.org/projects/mujoco/badge/?version=latest">
|
|
51
|
+
</a>
|
|
52
|
+
<a href="https://github.com/google-deepmind/mujoco_warp/blob/main/LICENSE" alt="License">
|
|
53
|
+
<img src="https://img.shields.io/github/license/google-deepmind/mujoco_warp">
|
|
54
|
+
</a>
|
|
55
|
+
</p>
|
|
56
|
+
|
|
57
|
+
# MuJoCo Warp (MJWarp)
|
|
58
|
+
|
|
59
|
+
MJWarp is a GPU-optimized version of the [MuJoCo](https://github.com/google-deepmind/mujoco) physics simulator, designed for NVIDIA hardware.
|
|
60
|
+
|
|
61
|
+
> [!NOTE]
|
|
62
|
+
> MJWarp is in Beta and under active development:
|
|
63
|
+
> * MJWarp developers will triage and respond to [bug report and feature requests](https://github.com/google-deepmind/mujoco_warp/issues).
|
|
64
|
+
> * MJWarp is mostly feature complete but requires performance optimization, documentation, and testing.
|
|
65
|
+
> * The intended audience during Beta are physics engine enthusiasts and learning framework integrators.
|
|
66
|
+
|
|
67
|
+
MJWarp uses [NVIDIA Warp](https://github.com/NVIDIA/warp) to circumvent many of the [sharp bits](https://mujoco.readthedocs.io/en/stable/mjx.html#mjx-the-sharp-bits) in [MuJoCo MJX](https://mujoco.readthedocs.io/en/stable/mjx.html#). MJWarp is integrated into both [MJX](https://mujoco.readthedocs.io/en/stable/mjx.html) and [Newton](https://github.com/newton-physics/newton).
|
|
68
|
+
|
|
69
|
+
MJWarp is maintained by [Google DeepMind](https://deepmind.google/) and [NVIDIA](https://www.nvidia.com/).
|
|
70
|
+
|
|
71
|
+
# Getting started
|
|
72
|
+
|
|
73
|
+
There are a few ways to jump into using MuJoCo Warp:
|
|
74
|
+
|
|
75
|
+
* For a quick overview of MJWarp's API and design, please see [our colab that introduces the basics](https://colab.research.google.com/github/google-deepmind/mujoco_warp/blob/main/notebooks/tutorial.ipynb).
|
|
76
|
+
* For more details and advanced topics on using MJWarp, see the [MuJoCo Warp documentation](https://mujoco.readthedocs.io/en/latest/mjwarp/index.html).
|
|
77
|
+
|
|
78
|
+
If you would like to train robot policies using MJWarp, consider using a robotics research toolkit that integrates it:
|
|
79
|
+
|
|
80
|
+
* [MuJoCo Playground](https://github.com/google-deepmind/mujoco_playground) integrates MJWarp via [MJX](https://mujoco.readthedocs.io/en/stable/mjx.html)
|
|
81
|
+
* [Isaac Lab](https://github.com/isaac-sim/IsaacLab/tree/feature/newton) integrates MJWarp via [Newton](https://github.com/newton-physics/newton)
|
|
82
|
+
* [mjlab](https://github.com/mujocolab/mjlab) integrates MJWarp directly
|
|
83
|
+
|
|
84
|
+
# Installing for development
|
|
85
|
+
|
|
86
|
+
MuJoCo Warp is currently supported on Windows or Linux on x86-64 architecture (to be expanded to more platforms and architectures soon).
|
|
87
|
+
|
|
88
|
+
**CUDA**
|
|
89
|
+
|
|
90
|
+
The minimum supported CUDA version is `12.4`.
|
|
91
|
+
|
|
92
|
+
**Linux**
|
|
93
|
+
```bash
|
|
94
|
+
git clone https://github.com/google-deepmind/mujoco_warp.git
|
|
95
|
+
cd mujoco_warp
|
|
96
|
+
python3 -m venv env
|
|
97
|
+
source env/bin/activate
|
|
98
|
+
pip install --upgrade pip
|
|
99
|
+
pip install uv
|
|
100
|
+
```
|
|
101
|
+
**Windows**
|
|
102
|
+
(native Python only, not MSYS2 or WSL)
|
|
103
|
+
|
|
104
|
+
```powershell
|
|
105
|
+
git clone https://github.com/google-deepmind/mujoco_warp.git
|
|
106
|
+
cd mujoco_warp
|
|
107
|
+
python -m venv env
|
|
108
|
+
.\env\Scripts\Activate.ps1 # For MSYS2 Python: env\bin\activate
|
|
109
|
+
pip install --upgrade pip
|
|
110
|
+
pip install uv
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
Then install MJWarp in editable mode for local development:
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
uv pip install -e .[dev,cuda]
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Now make sure everything is working:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
pytest
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Should print out something like `XX passed in XX.XXs` at the end!
|
|
127
|
+
|
|
128
|
+
If you plan to write Warp kernels for MJWarp, please use the `kernel_analyzer` vscode plugin located in `contrib/kernel_analyzer`.
|
|
129
|
+
Please see the `README.md` there for details on how to install it and use it. The same kernel analyzer will be run on any PR
|
|
130
|
+
you open, so it's important to fix any issues it reports.
|
|
131
|
+
|
|
132
|
+
# Compatibility
|
|
133
|
+
|
|
134
|
+
The following features are implemented:
|
|
135
|
+
|
|
136
|
+
| Category | Feature |
|
|
137
|
+
| ------------------ | --------------------------------------------------------------------------------------------------------|
|
|
138
|
+
| Dynamics | Forward, Inverse |
|
|
139
|
+
| Transmission | All |
|
|
140
|
+
| Actuator Dynamics | All except `USER` |
|
|
141
|
+
| Actuator Gain | All except `USER` |
|
|
142
|
+
| Actuator Bias | All except `USER` |
|
|
143
|
+
| Geom | All |
|
|
144
|
+
| Constraint | All |
|
|
145
|
+
| Equality | All |
|
|
146
|
+
| Integrator | All except `IMPLICIT` |
|
|
147
|
+
| Cone | All |
|
|
148
|
+
| Condim | All |
|
|
149
|
+
| Solver | All except `PGS`, `noslip` |
|
|
150
|
+
| Fluid Model | All |
|
|
151
|
+
| Tendon Wrap | All |
|
|
152
|
+
| Sensors | All except `GEOMDIST`, `GEOMNORMAL`, and `GEOMFROMTO` with `BOX`-`BOX`; `PLUGIN`, `USER` |
|
|
153
|
+
| Flex | `VERTCOLLIDE`, `ELASTICITY` |
|
|
154
|
+
| Mass matrix format | Sparse and Dense |
|
|
155
|
+
| Jacobian format | `DENSE` only (row-sparse, no islanding yet) |
|
|
156
|
+
|
|
157
|
+
[Differentiability via Warp](https://nvidia.github.io/warp/modules/differentiability.html#differentiability) is not currently
|
|
158
|
+
available.
|
|
159
|
+
|
|
160
|
+
# Viewing simulations
|
|
161
|
+
|
|
162
|
+
Explore MuJoCo Warp simulations using an interactive viewer:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
mjwarp-viewer benchmark/humanoid/humanoid.xml
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
This will open a window on your local machine that uses the [MuJoCo native visualizer](https://mujoco.readthedocs.io/en/stable/programming/visualization.html).
|
|
169
|
+
|
|
170
|
+
# Benchmarking
|
|
171
|
+
|
|
172
|
+
Benchmark as follows:
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
mjwarp-testspeed benchmark/humanoid/humanoid.xml
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
To get a full trace of the physics steps (e.g. timings of the subcomponents) run the following:
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
mjwarp-testspeed benchmark/humanoid/humanoid.xml --event_trace=True
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
`mjwarp-testspeed` has many configuration options, see ```mjwarp-testspeed --help``` for details.
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
<p>
|
|
2
|
+
<a href="https://github.com/google-deepmind/mujoco_warp/actions/workflows/ci.yml?query=branch%3Amain" alt="GitHub Actions">
|
|
3
|
+
<img src="https://img.shields.io/github/actions/workflow/status/google-deepmind/mujoco_warp/ci.yml?branch=main">
|
|
4
|
+
</a>
|
|
5
|
+
<a href="https://mujoco.readthedocs.io/en/latest/mjwarp/index.html" alt="Documentation">
|
|
6
|
+
<img src="https://readthedocs.org/projects/mujoco/badge/?version=latest">
|
|
7
|
+
</a>
|
|
8
|
+
<a href="https://github.com/google-deepmind/mujoco_warp/blob/main/LICENSE" alt="License">
|
|
9
|
+
<img src="https://img.shields.io/github/license/google-deepmind/mujoco_warp">
|
|
10
|
+
</a>
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
# MuJoCo Warp (MJWarp)
|
|
14
|
+
|
|
15
|
+
MJWarp is a GPU-optimized version of the [MuJoCo](https://github.com/google-deepmind/mujoco) physics simulator, designed for NVIDIA hardware.
|
|
16
|
+
|
|
17
|
+
> [!NOTE]
|
|
18
|
+
> MJWarp is in Beta and under active development:
|
|
19
|
+
> * MJWarp developers will triage and respond to [bug report and feature requests](https://github.com/google-deepmind/mujoco_warp/issues).
|
|
20
|
+
> * MJWarp is mostly feature complete but requires performance optimization, documentation, and testing.
|
|
21
|
+
> * The intended audience during Beta are physics engine enthusiasts and learning framework integrators.
|
|
22
|
+
|
|
23
|
+
MJWarp uses [NVIDIA Warp](https://github.com/NVIDIA/warp) to circumvent many of the [sharp bits](https://mujoco.readthedocs.io/en/stable/mjx.html#mjx-the-sharp-bits) in [MuJoCo MJX](https://mujoco.readthedocs.io/en/stable/mjx.html#). MJWarp is integrated into both [MJX](https://mujoco.readthedocs.io/en/stable/mjx.html) and [Newton](https://github.com/newton-physics/newton).
|
|
24
|
+
|
|
25
|
+
MJWarp is maintained by [Google DeepMind](https://deepmind.google/) and [NVIDIA](https://www.nvidia.com/).
|
|
26
|
+
|
|
27
|
+
# Getting started
|
|
28
|
+
|
|
29
|
+
There are a few ways to jump into using MuJoCo Warp:
|
|
30
|
+
|
|
31
|
+
* For a quick overview of MJWarp's API and design, please see [our colab that introduces the basics](https://colab.research.google.com/github/google-deepmind/mujoco_warp/blob/main/notebooks/tutorial.ipynb).
|
|
32
|
+
* For more details and advanced topics on using MJWarp, see the [MuJoCo Warp documentation](https://mujoco.readthedocs.io/en/latest/mjwarp/index.html).
|
|
33
|
+
|
|
34
|
+
If you would like to train robot policies using MJWarp, consider using a robotics research toolkit that integrates it:
|
|
35
|
+
|
|
36
|
+
* [MuJoCo Playground](https://github.com/google-deepmind/mujoco_playground) integrates MJWarp via [MJX](https://mujoco.readthedocs.io/en/stable/mjx.html)
|
|
37
|
+
* [Isaac Lab](https://github.com/isaac-sim/IsaacLab/tree/feature/newton) integrates MJWarp via [Newton](https://github.com/newton-physics/newton)
|
|
38
|
+
* [mjlab](https://github.com/mujocolab/mjlab) integrates MJWarp directly
|
|
39
|
+
|
|
40
|
+
# Installing for development
|
|
41
|
+
|
|
42
|
+
MuJoCo Warp is currently supported on Windows or Linux on x86-64 architecture (to be expanded to more platforms and architectures soon).
|
|
43
|
+
|
|
44
|
+
**CUDA**
|
|
45
|
+
|
|
46
|
+
The minimum supported CUDA version is `12.4`.
|
|
47
|
+
|
|
48
|
+
**Linux**
|
|
49
|
+
```bash
|
|
50
|
+
git clone https://github.com/google-deepmind/mujoco_warp.git
|
|
51
|
+
cd mujoco_warp
|
|
52
|
+
python3 -m venv env
|
|
53
|
+
source env/bin/activate
|
|
54
|
+
pip install --upgrade pip
|
|
55
|
+
pip install uv
|
|
56
|
+
```
|
|
57
|
+
**Windows**
|
|
58
|
+
(native Python only, not MSYS2 or WSL)
|
|
59
|
+
|
|
60
|
+
```powershell
|
|
61
|
+
git clone https://github.com/google-deepmind/mujoco_warp.git
|
|
62
|
+
cd mujoco_warp
|
|
63
|
+
python -m venv env
|
|
64
|
+
.\env\Scripts\Activate.ps1 # For MSYS2 Python: env\bin\activate
|
|
65
|
+
pip install --upgrade pip
|
|
66
|
+
pip install uv
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
Then install MJWarp in editable mode for local development:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
uv pip install -e .[dev,cuda]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Now make sure everything is working:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
pytest
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Should print out something like `XX passed in XX.XXs` at the end!
|
|
83
|
+
|
|
84
|
+
If you plan to write Warp kernels for MJWarp, please use the `kernel_analyzer` vscode plugin located in `contrib/kernel_analyzer`.
|
|
85
|
+
Please see the `README.md` there for details on how to install it and use it. The same kernel analyzer will be run on any PR
|
|
86
|
+
you open, so it's important to fix any issues it reports.
|
|
87
|
+
|
|
88
|
+
# Compatibility
|
|
89
|
+
|
|
90
|
+
The following features are implemented:
|
|
91
|
+
|
|
92
|
+
| Category | Feature |
|
|
93
|
+
| ------------------ | --------------------------------------------------------------------------------------------------------|
|
|
94
|
+
| Dynamics | Forward, Inverse |
|
|
95
|
+
| Transmission | All |
|
|
96
|
+
| Actuator Dynamics | All except `USER` |
|
|
97
|
+
| Actuator Gain | All except `USER` |
|
|
98
|
+
| Actuator Bias | All except `USER` |
|
|
99
|
+
| Geom | All |
|
|
100
|
+
| Constraint | All |
|
|
101
|
+
| Equality | All |
|
|
102
|
+
| Integrator | All except `IMPLICIT` |
|
|
103
|
+
| Cone | All |
|
|
104
|
+
| Condim | All |
|
|
105
|
+
| Solver | All except `PGS`, `noslip` |
|
|
106
|
+
| Fluid Model | All |
|
|
107
|
+
| Tendon Wrap | All |
|
|
108
|
+
| Sensors | All except `GEOMDIST`, `GEOMNORMAL`, and `GEOMFROMTO` with `BOX`-`BOX`; `PLUGIN`, `USER` |
|
|
109
|
+
| Flex | `VERTCOLLIDE`, `ELASTICITY` |
|
|
110
|
+
| Mass matrix format | Sparse and Dense |
|
|
111
|
+
| Jacobian format | `DENSE` only (row-sparse, no islanding yet) |
|
|
112
|
+
|
|
113
|
+
[Differentiability via Warp](https://nvidia.github.io/warp/modules/differentiability.html#differentiability) is not currently
|
|
114
|
+
available.
|
|
115
|
+
|
|
116
|
+
# Viewing simulations
|
|
117
|
+
|
|
118
|
+
Explore MuJoCo Warp simulations using an interactive viewer:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
mjwarp-viewer benchmark/humanoid/humanoid.xml
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
This will open a window on your local machine that uses the [MuJoCo native visualizer](https://mujoco.readthedocs.io/en/stable/programming/visualization.html).
|
|
125
|
+
|
|
126
|
+
# Benchmarking
|
|
127
|
+
|
|
128
|
+
Benchmark as follows:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
mjwarp-testspeed benchmark/humanoid/humanoid.xml
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
To get a full trace of the physics steps (e.g. timings of the subcomponents) run the following:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
mjwarp-testspeed benchmark/humanoid/humanoid.xml --event_trace=True
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
`mjwarp-testspeed` has many configuration options, see ```mjwarp-testspeed --help``` for details.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Copyright 2025 The Newton Developers
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
# ==============================================================================
|
|
15
|
+
|
|
16
|
+
"""Public API for MJWarp."""
|
|
17
|
+
|
|
18
|
+
# isort: off
|
|
19
|
+
from ._src.forward import step as step
|
|
20
|
+
from ._src.types import Model as Model
|
|
21
|
+
from ._src.types import Data as Data
|
|
22
|
+
# isort: on
|
|
23
|
+
|
|
24
|
+
from ._src.collision_driver import collision as collision
|
|
25
|
+
from ._src.collision_driver import nxn_broadphase as nxn_broadphase
|
|
26
|
+
from ._src.collision_driver import sap_broadphase as sap_broadphase
|
|
27
|
+
from ._src.collision_primitive import primitive_narrowphase as primitive_narrowphase
|
|
28
|
+
from ._src.collision_sdf import sdf_narrowphase as sdf_narrowphase
|
|
29
|
+
from ._src.constraint import make_constraint as make_constraint
|
|
30
|
+
from ._src.derivative import deriv_smooth_vel as deriv_smooth_vel
|
|
31
|
+
from ._src.forward import euler as euler
|
|
32
|
+
from ._src.forward import forward as forward
|
|
33
|
+
from ._src.forward import fwd_acceleration as fwd_acceleration
|
|
34
|
+
from ._src.forward import fwd_actuation as fwd_actuation
|
|
35
|
+
from ._src.forward import fwd_position as fwd_position
|
|
36
|
+
from ._src.forward import fwd_velocity as fwd_velocity
|
|
37
|
+
from ._src.forward import implicit as implicit
|
|
38
|
+
from ._src.forward import rungekutta4 as rungekutta4
|
|
39
|
+
from ._src.forward import step1 as step1
|
|
40
|
+
from ._src.forward import step2 as step2
|
|
41
|
+
from ._src.inverse import inverse as inverse
|
|
42
|
+
from ._src.io import get_data_into as get_data_into
|
|
43
|
+
from ._src.io import make_data as make_data
|
|
44
|
+
from ._src.io import put_data as put_data
|
|
45
|
+
from ._src.io import put_model as put_model
|
|
46
|
+
from ._src.io import reset_data as reset_data
|
|
47
|
+
from ._src.passive import passive as passive
|
|
48
|
+
from ._src.ray import ray as ray
|
|
49
|
+
from ._src.ray import rays as rays
|
|
50
|
+
from ._src.sensor import energy_pos as energy_pos
|
|
51
|
+
from ._src.sensor import energy_vel as energy_vel
|
|
52
|
+
from ._src.sensor import sensor_acc as sensor_acc
|
|
53
|
+
from ._src.sensor import sensor_pos as sensor_pos
|
|
54
|
+
from ._src.sensor import sensor_vel as sensor_vel
|
|
55
|
+
from ._src.smooth import camlight as camlight
|
|
56
|
+
from ._src.smooth import com_pos as com_pos
|
|
57
|
+
from ._src.smooth import com_vel as com_vel
|
|
58
|
+
from ._src.smooth import crb as crb
|
|
59
|
+
from ._src.smooth import factor_m as factor_m
|
|
60
|
+
from ._src.smooth import flex as flex
|
|
61
|
+
from ._src.smooth import kinematics as kinematics
|
|
62
|
+
from ._src.smooth import rne as rne
|
|
63
|
+
from ._src.smooth import rne_postconstraint as rne_postconstraint
|
|
64
|
+
from ._src.smooth import solve_m as solve_m
|
|
65
|
+
from ._src.smooth import subtree_vel as subtree_vel
|
|
66
|
+
from ._src.smooth import tendon as tendon
|
|
67
|
+
from ._src.smooth import transmission as transmission
|
|
68
|
+
from ._src.solver import solve as solve
|
|
69
|
+
from ._src.support import contact_force as contact_force
|
|
70
|
+
from ._src.support import get_state as get_state
|
|
71
|
+
from ._src.support import mul_m as mul_m
|
|
72
|
+
from ._src.support import set_state as set_state
|
|
73
|
+
from ._src.support import xfrc_accumulate as xfrc_accumulate
|
|
74
|
+
from ._src.types import BiasType as BiasType
|
|
75
|
+
from ._src.types import BroadphaseFilter as BroadphaseFilter
|
|
76
|
+
from ._src.types import BroadphaseType as BroadphaseType
|
|
77
|
+
from ._src.types import ConeType as ConeType
|
|
78
|
+
from ._src.types import Constraint as Constraint
|
|
79
|
+
from ._src.types import Contact as Contact
|
|
80
|
+
from ._src.types import DisableBit as DisableBit
|
|
81
|
+
from ._src.types import DynType as DynType
|
|
82
|
+
from ._src.types import EnableBit as EnableBit
|
|
83
|
+
from ._src.types import GainType as GainType
|
|
84
|
+
from ._src.types import GeomType as GeomType
|
|
85
|
+
from ._src.types import IntegratorType as IntegratorType
|
|
86
|
+
from ._src.types import JointType as JointType
|
|
87
|
+
from ._src.types import Option as Option
|
|
88
|
+
from ._src.types import SolverType as SolverType
|
|
89
|
+
from ._src.types import State as State
|
|
90
|
+
from ._src.types import Statistic as Statistic
|
|
91
|
+
from ._src.types import TrnType as TrnType
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Copyright 2025 The Newton Developers
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
# ==============================================================================
|