Improve island-constraint testing model.
PiperOrigin-RevId: 561931744 Change-Id: I2826d4c5b987cc6edd761026f6734fe40fb31278
This commit is contained in:
committed by
Copybara-Service
parent
5279ce6f6f
commit
70c5fa50f2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user