Initial open sourcing of MuJoCo.

PiperOrigin-RevId: 450374687
Change-Id: Ie3225a46ce095fc28ae8e63c326a640261f562bb
This commit is contained in:
Saran Tunyasuvunakool
2022-05-23 01:08:10 -07:00
committed by Copybara-Service
parent 0e5d062302
commit 1913a02b40
275 changed files with 99607 additions and 935 deletions
+20
View File
@@ -0,0 +1,20 @@
<mujoco>
<default>
<geom size=".8 .9"/>
<!-- These are arbitrary, the capsule-related `MjCGeomTest` instances pass for any values. -->
</default>
<worldbody>
<body pos="-2 0 0" name="sphere">
<geom type="sphere"/>
</body>
<body name="cylinder">
<geom type="cylinder"/>
</body>
<body pos="2 0 0" name="capsule">
<geom type="capsule"/>
</body>
</worldbody>
</mujoco>
+8
View File
@@ -0,0 +1,8 @@
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 -0.500000
v 0.500000 0.500000 -0.500000
v -0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
+8
View File
@@ -0,0 +1,8 @@
<mujoco>
<asset>
<mesh file="cube.obj"/>
</asset>
<worldbody>
<geom type="mesh" mesh="cube"/>
</worldbody>
</mujoco>
+20
View File
@@ -0,0 +1,20 @@
v 1 1 1
v -1 1 -1
v -1 -1 1
v 1 -1 -1
v 1 1 1
v -1 1 -1
v -1 -1 1
v 1 -1 -1
v 1 1 1
v -1 1 -1
v -1 -1 1
v 1 -1 -1
v 1 1 1
v -1 1 -1
v -1 -1 1
v 1 -1 -1
f 1 2 3
f 5 7 8
f 9 12 10
f 16 15 14
+8
View File
@@ -0,0 +1,8 @@
<mujoco>
<asset>
<mesh file="duplicate.obj"/>
</asset>
<worldbody>
<geom type="mesh" mesh="duplicate"/>
</worldbody>
</mujoco>
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
<mujoco>
<asset>
<mesh file="duplicate_vertices.stl"/>
</asset>
<worldbody>
<geom type="mesh" mesh="duplicate_vertices"/>
</worldbody>
</mujoco>
+8
View File
@@ -0,0 +1,8 @@
<mujoco>
<asset>
<mesh file="torus.obj" scale="1 -1 1"/>
</asset>
<worldbody>
<geom type="mesh" mesh="torus"/>
</worldbody>
</mujoco>
+13
View File
@@ -0,0 +1,13 @@
<mujoco>
<compiler meshdir="textured_torus" texturedir="textured_torus"/>
<asset>
<mesh name="torus" file="textured_torus.obj"/>
<mesh name="flipped_torus" file="textured_torus.obj" scale="-1 1 1"/>
<texture file="carpet.png" type="2d"/>
<material name="carpet" texture="carpet"/>
</asset>
<worldbody>
<geom type="mesh" mesh="torus" material="carpet"/>
<geom type="mesh" mesh="flipped_torus" material="carpet" pos="0 0 1"/>
</worldbody>
</mujoco>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

+14
View File
@@ -0,0 +1,14 @@
#
# Wavefront material file
# Converted by Meshlab Group
#
newmtl material_0
Ka 0.200000 0.200000 0.200000
Kd 0.800000 0.800000 0.800000
Ks 1.000000 1.000000 1.000000
Tr 1.000000
illum 2
Ns 0.000000
map_Kd carpet.png
File diff suppressed because it is too large Load Diff
+1168
View File
File diff suppressed because it is too large Load Diff
+8
View File
@@ -0,0 +1,8 @@
<mujoco>
<asset>
<mesh file="torus.obj"/>
</asset>
<worldbody>
<geom type="mesh" mesh="torus"/>
</worldbody>
</mujoco>
+2082
View File
File diff suppressed because it is too large Load Diff
+8
View File
@@ -0,0 +1,8 @@
<mujoco>
<asset>
<mesh file="torus.obj"/>
</asset>
<worldbody>
<geom type="mesh" mesh="torus"/>
</worldbody>
</mujoco>