Add constraint island discovery
PiperOrigin-RevId: 557067599 Change-Id: Ic41e1d0efef02b7a79142518afe49cf9d4e74725
This commit is contained in:
committed by
Copybara-Service
parent
e4dddea42a
commit
3e034e38b2
+35
@@ -0,0 +1,35 @@
|
||||
<mujoco>
|
||||
<option gravity="1 0 0">
|
||||
<flag island="enable"/>
|
||||
</option>
|
||||
|
||||
<default>
|
||||
<joint type="slide" axis="1 0 0" damping="10"/>
|
||||
<geom size=".1"/>
|
||||
</default>
|
||||
|
||||
<worldbody>
|
||||
<body>
|
||||
<geom type="box" size=".05 .1 .1"/>
|
||||
</body>
|
||||
<body pos=".25 0 0">
|
||||
<joint/>
|
||||
<geom/>
|
||||
</body>
|
||||
<body pos=".5 0 0">
|
||||
<joint/>
|
||||
<geom/>
|
||||
</body>
|
||||
<body pos=".75 0 0">
|
||||
<joint/>
|
||||
<geom/>
|
||||
</body>
|
||||
<body pos="1 0 0">
|
||||
<joint/>
|
||||
<geom/>
|
||||
</body>
|
||||
<body pos="1.25 0 0">
|
||||
<geom type="box" size=".05 .1 .1"/>
|
||||
</body>
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
<mujoco>
|
||||
<option>
|
||||
<flag island="enable"/>
|
||||
</option>
|
||||
|
||||
<default>
|
||||
<joint type="slide" axis="1 0 0" damping="3" frictionloss=".1"/>
|
||||
<geom type="cylinder" size=".07 .1" zaxis="0 1 0"/>
|
||||
<site size=".015" rgba="1 0 0 1"/>
|
||||
</default>
|
||||
|
||||
<worldbody>
|
||||
<site name="anchor" pos="0 0 1"/>
|
||||
|
||||
<body pos="0 0 .75">
|
||||
<joint stiffness="10"/>
|
||||
<geom name="0"/>
|
||||
</body>
|
||||
<site name="side0" pos=".15 0 .75" rgba="0 0 1 1"/>
|
||||
|
||||
<site name="01" pos="0 0 .625"/>
|
||||
|
||||
<body pos="0 0 .5">
|
||||
<joint stiffness="30"/>
|
||||
<geom name="1"/>
|
||||
</body>
|
||||
<site name="side1" pos="-.15 0 .5" rgba="0 0 1 1"/>
|
||||
|
||||
<site name="12" pos="0 0 .375"/>
|
||||
|
||||
<body pos="0 0 .25">
|
||||
<joint stiffness="100"/>
|
||||
<geom name="2"/>
|
||||
</body>
|
||||
<site name="side2" pos=".15 0 .25" rgba="0 0 1 1"/>
|
||||
|
||||
<body>
|
||||
<freejoint/>
|
||||
<site name="box" pos="0 0 .1"/>
|
||||
<geom type="box" size=".1 .1 .1"/>
|
||||
</body>
|
||||
</worldbody>
|
||||
|
||||
<tendon>
|
||||
<spatial limited="true" range="0 1.05" rgba="0 1 0 1" width=".005">
|
||||
<site site="anchor"/>
|
||||
<geom geom="0" sidesite="side0"/>
|
||||
<site site="01"/>
|
||||
<geom geom="1" sidesite="side1"/>
|
||||
<site site="12"/>
|
||||
<geom geom="2" sidesite="side2"/>
|
||||
<site site="box"/>
|
||||
</spatial>
|
||||
</tendon>
|
||||
</mujoco>
|
||||
|
||||
Reference in New Issue
Block a user