Add mju_getXMLDependencies that given an MJCF file returns filepaths to all of it's dependencies.
PiperOrigin-RevId: 814203235 Change-Id: Ib5c2e2f4dd42224a768c88d76473544190c72bc0
This commit is contained in:
committed by
Copybara-Service
parent
7e16ecaa25
commit
6320b95957
+21
@@ -0,0 +1,21 @@
|
||||
<mujoco>
|
||||
<include file="child.xml"/>
|
||||
|
||||
<compiler meshdir="meshes"/>
|
||||
<asset>
|
||||
<model name="other" file="parent_model.xml"/>
|
||||
<mesh name="mesh1" file="mesh1.obj"/>
|
||||
</asset>
|
||||
<worldbody>
|
||||
<body name="my_parent">
|
||||
<geom name="my_geom" size="2"/>
|
||||
<flexcomp type="mesh" file="flex.obj" name="flex" rigid="true"/>
|
||||
</body>
|
||||
<body name="box">
|
||||
<geom type="box" mesh="mesh1"/>
|
||||
</body>
|
||||
</worldbody>
|
||||
<deformable>
|
||||
<skin name="skin" file="cube.skn"/>
|
||||
</deformable>
|
||||
</mujoco>
|
||||
Reference in New Issue
Block a user