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
@@ -2323,7 +2323,7 @@ void* LRfunc(void* arg) {
|
||||
void mjCModel::LengthRange(mjModel* m, mjData* data) {
|
||||
// save options and modify
|
||||
mjOption saveopt = m->opt;
|
||||
m->opt.disableflags = mjDSBL_FRICTIONLOSS | mjDSBL_CONTACT | mjDSBL_PASSIVE |
|
||||
m->opt.disableflags = mjDSBL_FRICTIONLOSS | mjDSBL_CONTACT | mjDSBL_SPRING | mjDSBL_DAMPER |
|
||||
mjDSBL_GRAVITY | mjDSBL_ACTUATION;
|
||||
if (compiler.LRopt.timestep > 0) {
|
||||
m->opt.timestep = compiler.LRopt.timestep;
|
||||
|
||||
Reference in New Issue
Block a user