Add SLEEP to EnableBit enum.

This change exposes the `mjENBL_SLEEP` flag from MuJoCo's `mjtEnableBit` in MJX's `EnableBit` type.

PiperOrigin-RevId: 829446801
Change-Id: Ia95b31a3488ecba0431646c889e10a5ae5fb60e8
This commit is contained in:
Google DeepMind
2025-11-07 08:21:34 -08:00
committed by Copybara-Service
parent 2cd99e2ec6
commit 59debb50b1
+1
View File
@@ -92,6 +92,7 @@ class EnableBit(enum.IntFlag):
# unsupported: OVERRIDE, ENERGY, FWDINV, ISLAND
# required by the C implementation only, ignored otherwise: MULTICCD
MULTICCD = mujoco.mjtEnableBit.mjENBL_MULTICCD
SLEEP = mujoco.mjtEnableBit.mjENBL_SLEEP
class JointType(enum.IntEnum):