Make elasticity plugins compatible with flex pins. Fixes #1235.
Before change: poncho 18.20s poncho_flex 44.60s floppy 4.70s floppy_flex 6.43s After change: poncho 18.23s poncho_flex 44.62s floppy 4.67s floppy_flex 6.57s PiperOrigin-RevId: 585952587 Change-Id: I0e7c1513f64c7ab1e6ad71e2168b4467c042b46f
This commit is contained in:
committed by
Copybara-Service
parent
7cb84d45c1
commit
7d8d4d398e
@@ -44,6 +44,7 @@
|
||||
radius=".001" mass="10" name="plate" dim="2">
|
||||
<contact condim="3" solref="0.01 1" solimp=".95 .99 .0001"/>
|
||||
<edge equality="false" damping="10"/>
|
||||
<pin id="0 15 240 255"/>
|
||||
<plugin plugin="mujoco.elasticity.membrane">
|
||||
<config key="poisson" value="0"/>
|
||||
<config key="thickness" value="1e-2"/>
|
||||
@@ -52,11 +53,4 @@
|
||||
</plugin>
|
||||
</flexcomp>
|
||||
</worldbody>
|
||||
|
||||
<equality>
|
||||
<connect body1="plate_0" anchor="0 0 0"/>
|
||||
<connect body1="plate_15" anchor="0 0 0"/>
|
||||
<connect body1="plate_240" anchor="0 0 0"/>
|
||||
<connect body1="plate_255" anchor="0 0 0"/>
|
||||
</equality>
|
||||
</mujoco>
|
||||
|
||||
Reference in New Issue
Block a user