Remove mjDSBL_PASSIVE, split it into mjDSBL_SPRING and mjDSBL_DAMPING.
PiperOrigin-RevId: 800870384 Change-Id: I273e0ceec090901e2620febb67e57914928e94bb
This commit is contained in:
committed by
Copybara-Service
parent
0eea5d6dbd
commit
b092563cab
@@ -118,8 +118,8 @@ const char* MJCF[nMJCF][mjXATTRNUM] = {
|
||||
"solver", "iterations", "ls_iterations", "noslip_iterations", "ccd_iterations",
|
||||
"sdf_iterations", "sdf_initpoints", "actuatorgroupdisable"},
|
||||
{"<"},
|
||||
{"flag", "?", "23", "constraint", "equality", "frictionloss", "limit", "contact",
|
||||
"passive", "gravity", "clampctrl", "warmstart",
|
||||
{"flag", "?", "24", "constraint", "equality", "frictionloss", "limit", "contact",
|
||||
"spring", "damper", "gravity", "clampctrl", "warmstart",
|
||||
"filterparent", "actuation", "refsafe", "sensor", "midphase", "eulerdamp", "autoreset",
|
||||
"nativeccd", "island", "override", "energy", "fwdinv", "invdiscrete", "multiccd"},
|
||||
{">"},
|
||||
@@ -1187,7 +1187,8 @@ void mjXReader::Option(XMLElement* section, mjOption* opt) {
|
||||
READDSBL("frictionloss", mjDSBL_FRICTIONLOSS)
|
||||
READDSBL("limit", mjDSBL_LIMIT)
|
||||
READDSBL("contact", mjDSBL_CONTACT)
|
||||
READDSBL("passive", mjDSBL_PASSIVE)
|
||||
READDSBL("spring", mjDSBL_SPRING)
|
||||
READDSBL("damper", mjDSBL_DAMPER)
|
||||
READDSBL("gravity", mjDSBL_GRAVITY)
|
||||
READDSBL("clampctrl", mjDSBL_CLAMPCTRL)
|
||||
READDSBL("warmstart", mjDSBL_WARMSTART)
|
||||
|
||||
Reference in New Issue
Block a user