Disable island discovery for models with flexes.
PiperOrigin-RevId: 574244981 Change-Id: I7c08b23cf5f29338a04ec684ad7a0d4d8a0397df
This commit is contained in:
committed by
Copybara-Service
parent
18e4e10142
commit
d0bdb78207
@@ -619,6 +619,7 @@ void mj_fwdConstraint(const mjModel* m, mjData* d) {
|
||||
|
||||
// check if islands are supported
|
||||
int islands_supported = mjENABLED(mjENBL_ISLAND) &&
|
||||
d->nisland > 0 &&
|
||||
m->opt.solver == mjSOL_CG &&
|
||||
m->opt.noslip_iterations == 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user