Improve island-constraint testing model.

PiperOrigin-RevId: 561931744
Change-Id: I2826d4c5b987cc6edd761026f6734fe40fb31278
This commit is contained in:
Yuval Tassa
2023-09-01 05:51:26 -07:00
committed by Copybara-Service
parent 5279ce6f6f
commit 70c5fa50f2
5 changed files with 45 additions and 24 deletions
+2 -2
View File
@@ -469,9 +469,9 @@ TEST_F(SupportTest, MulMIsland) {
vec[i] = 0.2 + 0.3*i;
}
// simulate for 0.3 seconds
// simulate for 0.2 seconds
mj_resetData(model, data);
while (data->time < 0.3) {
while (data->time < 0.2) {
mj_step(model, data);
}
mj_forward(model, data);