Skip to content

Commit 6fce666

Browse files
yuvaltassacopybara-github
authored andcommitted
Add mjContact.solreffriction, mjModel.pair_solreffriction and related implementation, allowing contact reference acceleration to be different for normal and frictional contact directions. This is required for e.g. elastic frictional collisions.
PiperOrigin-RevId: 538513357 Change-Id: Ic91f34cbc143b7edd33e4b68d29e471f2db9e912
1 parent 1bee111 commit 6fce666

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dm_control/mjcf/schema.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@
351351
<attribute name="condim" type="int"/>
352352
<attribute name="friction" type="array" array_type="float" array_size="5"/>
353353
<attribute name="solref" type="array" array_type="float" array_size="2"/>
354+
<attribute name="solreffriction" type="array" array_type="float" array_size="2"/>
354355
<attribute name="solimp" type="array" array_type="float" array_size="5"/>
355356
<attribute name="margin" type="float"/>
356357
<attribute name="gap" type="float"/>
@@ -1422,6 +1423,7 @@
14221423
<attribute name="condim" type="int"/>
14231424
<attribute name="friction" type="array" array_type="float" array_size="5"/>
14241425
<attribute name="solref" type="array" array_type="float" array_size="2"/>
1426+
<attribute name="solreffriction" type="array" array_type="float" array_size="2"/>
14251427
<attribute name="solimp" type="array" array_type="float" array_size="5"/>
14261428
<attribute name="margin" type="float"/>
14271429
<attribute name="gap" type="float"/>

0 commit comments

Comments
 (0)