Rename inteval attribute in mjLROpt to interval.

PiperOrigin-RevId: 509275105
Change-Id: I0ffb9cf485a504843ed255f0b4f24e9285a1c273
This commit is contained in:
Saran Tunyasuvunakool
2023-02-13 10:53:20 -08:00
committed by Copybara-Service
parent db28c31f05
commit ace5b74f83
10 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void mj_defaultLROpt(mjLROpt* opt) {
opt->timeconst = 1;
opt->timestep = 0.01;
opt->inttotal = 10;
opt->inteval = 2;
opt->interval = 2;
opt->tolrange = 0.05;
}
+1 -1
View File
@@ -508,7 +508,7 @@ int mj_setLengthRange(mjModel* m, mjData* d, int index,
}
// update limits
if (d->time > opt->inttotal-opt->inteval) {
if (d->time > opt->inttotal-opt->interval) {
if (len<lmin[side] || !updated) {
lmin[side] = len;
}