aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.c
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-11 15:31:28 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-12 09:52:50 -0600
commit95eab1b8938e0033a0aa0d10d6ec53d7d2782907 (patch)
treee92f9abf0287fea8c91abadf8a095318507a8885 /src/survive_cal.c
parent7fadeeff29074520224be385ecd6c50271a07220 (diff)
downloadlibsurvive-95eab1b8938e0033a0aa0d10d6ec53d7d2782907.tar.gz
libsurvive-95eab1b8938e0033a0aa0d10d6ec53d7d2782907.tar.bz2
Added callback for lighthouse found; example in test.c
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-xsrc/survive_cal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c
index 696cce4..59cf68b 100755
--- a/src/survive_cal.c
+++ b/src/survive_cal.c
@@ -651,9 +651,6 @@ static void handle_calibration( struct SurviveCalData *cd )
fprintf( fobjp, "%f %f %f %f\n", objfromlh->Rot[0], objfromlh->Rot[1], objfromlh->Rot[2], objfromlh->Rot[3] );
if (ctx->bsd[lh].PositionSet) {
- config_set_lighthouse(ctx->lh_config, &ctx->bsd[0], 0);
- config_set_lighthouse(ctx->lh_config, &ctx->bsd[1], 1);
-
if (compute_reprojection_error) {
FLT reproj_err = 0;
size_t cnt = 0;
@@ -690,7 +687,6 @@ static void handle_calibration( struct SurviveCalData *cd )
}
}
- config_save(ctx, "config.json");
}
fclose( fobjp );