Add a new disable flag mjDSBL_AUTORESETNAN.

PiperOrigin-RevId: 654677473
Change-Id: Id92383fe413729bf6697353aa6e0bc8a946ec7e8
This commit is contained in:
Saran Tunyasuvunakool
2024-07-22 03:21:09 -07:00
committed by Copybara-Service
parent d49d4bf64c
commit f62792594f
8 changed files with 31 additions and 11 deletions
+2 -1
View File
@@ -61,8 +61,9 @@ typedef enum mjtDisableBit_ { // disable default feature bitflags
mjDSBL_SENSOR = 1<<12, // sensors
mjDSBL_MIDPHASE = 1<<13, // mid-phase collision filtering
mjDSBL_EULERDAMP = 1<<14, // implicit integration of joint damping in Euler integrator
mjDSBL_AUTORESETNAN = 1<<15, // automatic reset when numerical issues are detected
mjNDISABLE = 15 // number of disable flags
mjNDISABLE = 16 // number of disable flags
} mjtDisableBit;