Skip to content

Commit

Permalink
Merge 6ec3e59 into 87d6488
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored Apr 29, 2021
2 parents 87d6488 + 6ec3e59 commit da89ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExtLibs/Utilities/dfgpslag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static void getdata(string file)
foreach (var i in Enumerable.Range(0, 100))
{
var err = velocity_error(timestamps, vel, gaccel, accel_indexes, imu_dt, i);
if (err == null)
if (err == 0)
break;
errors.Add(err);
delays.Add(i * imu_dt);
Expand Down

0 comments on commit da89ac8

Please sign in to comment.