aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/survive_cal.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c
index bcbe25c..696cce4 100755
--- a/src/survive_cal.c
+++ b/src/survive_cal.c
@@ -677,7 +677,13 @@ static void handle_calibration( struct SurviveCalData *cd )
reproj_err += sqrt(err);
}
- reproj_err = reproj_err / cnt;
+ // This represents the average distance we were off in our
+ // reprojection.
+ // Different libraries have slightly different variations on
+ // this theme,
+ // but this one has an intuitive meaning
+ reproj_err = (reproj_err / cnt);
+
SV_INFO("Reproject error was %.13g for lighthouse %d",
reproj_err, lh);
}