Add MjSpec.from_zip() constructor.
PiperOrigin-RevId: 736871864 Change-Id: Ib6cc189d5912a57e5c505c744a4a1d6ad61d1c84
This commit is contained in:
committed by
Copybara-Service
parent
1a67aaf1b7
commit
f480a9e985
@@ -758,11 +758,14 @@ class SpecsTest(absltest.TestCase):
|
||||
|
||||
xml = """
|
||||
<mujoco model="test">
|
||||
<compiler angle="radian"/>
|
||||
|
||||
<asset>
|
||||
<mesh name="cube" file="cube.obj"/>
|
||||
</asset>
|
||||
|
||||
<worldbody>
|
||||
<geom mesh="cube"/>
|
||||
<geom type="mesh" mesh="cube"/>
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user