410c73168c
For example when loading parent_merge.xml: ``` WARNING: Attach conflict when attaching 'child' to 'parent_merge', policy is 'merge' timestep: parent has 0.005, child has 0.002, taking the minimum iterations: parent has 50, child has 100, taking the maximum flag 'Damper': added from child ``` When loading parent_error.xml: ``` XML Error: Attach conflict when attaching 'child' to 'parent_error', policy is 'error' timestep: parent has 0.005, child has 0.002 iterations: parent has 50, child has 100 Element 'attach', line 10 ``` PiperOrigin-RevId: 933620810 Change-Id: Ib477863b5ef763474d27fb4be5a4148be1d5d500
14 lines
384 B
XML
14 lines
384 B
XML
<mujoco model="parent_error">
|
|
<compiler conflict="error"/>
|
|
<option timestep="0.005" iterations="50" gravity="0 0 -10"/>
|
|
<asset>
|
|
<model name="child" file="child_mergable.xml"/>
|
|
</asset>
|
|
<worldbody>
|
|
<body name="parent_body">
|
|
<geom name="parent_geom" size="2"/>
|
|
<attach model="child" body="child_body" prefix="child/"/>
|
|
</body>
|
|
</worldbody>
|
|
</mujoco>
|