Make constraint island discovery on by default.

Also fix latent bug in mjData serialization.

PiperOrigin-RevId: 799505349
Change-Id: I299e7cc8133fa2ec0b339a7ff3d02543e06778b1
This commit is contained in:
Yuval Tassa
2025-08-26 04:26:30 -07:00
committed by Copybara-Service
parent 4cf5c37211
commit ec94bb49aa
27 changed files with 147 additions and 81 deletions
+3 -3
View File
@@ -179,7 +179,8 @@ public enum mjtDisableBit : int{
mjDSBL_EULERDAMP = 16384,
mjDSBL_AUTORESET = 32768,
mjDSBL_NATIVECCD = 65536,
mjNDISABLE = 17,
mjDSBL_ISLAND = 131072,
mjNDISABLE = 18,
}
public enum mjtEnableBit : int{
mjENBL_OVERRIDE = 1,
@@ -187,8 +188,7 @@ public enum mjtEnableBit : int{
mjENBL_FWDINV = 4,
mjENBL_INVDISCRETE = 8,
mjENBL_MULTICCD = 16,
mjENBL_ISLAND = 32,
mjNENABLE = 6,
mjNENABLE = 5,
}
public enum mjtJoint : int{
mjJNT_FREE = 0,