Skip to content

Commit a2a27c1

Browse files
quaglacopybara-github
authored andcommitted
Do not raise an error in MJX if MultiCCD is enabled.
PiperOrigin-RevId: 785473405 Change-Id: I91165ac83fa000ff51467295820330703bfb20ed
1 parent 921bca5 commit a2a27c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mjx/mujoco/mjx/_src/types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ class EnableBit(enum.IntFlag):
8686
"""
8787

8888
INVDISCRETE = mujoco.mjtEnableBit.mjENBL_INVDISCRETE
89-
# unsupported: OVERRIDE, ENERGY, FWDINV, MULTICCD, ISLAND
89+
# unsupported: OVERRIDE, ENERGY, FWDINV, ISLAND
90+
# required by the C implementation only, ignored otherwise: MULTICCD
91+
MULTICCD = mujoco.mjtEnableBit.mjENBL_MULTICCD
9092

9193

9294
class JointType(enum.IntEnum):

0 commit comments

Comments
 (0)