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:
committed by
Copybara-Service
parent
2cd99e2ec6
commit
59debb50b1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user