diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-04-01 12:23:48 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-04-01 16:09:53 -0600 |
commit | 47c7fb15182700fb403894f65beaf143a7fad6ab (patch) | |
tree | ba4fbdf05864ff080fea937538f67c6bec3924df /src/survive_cal.c | |
parent | 22d40fb360fdb65da7916fb87f9b199f4f401f05 (diff) | |
download | libsurvive-47c7fb15182700fb403894f65beaf143a7fad6ab.tar.gz libsurvive-47c7fb15182700fb403894f65beaf143a7fad6ab.tar.bz2 |
Tweaked how reproject / calibate interact
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-x | src/survive_cal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c index e094e7b..3015b68 100755 --- a/src/survive_cal.c +++ b/src/survive_cal.c @@ -13,12 +13,13 @@ #include "survive_internal.h" #include "survive_reproject.h" +#include <assert.h> +#include <linmath.h> #include <math.h> +#include <poser.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> -#include <linmath.h> -#include <assert.h> #include "survive_config.h" @@ -618,9 +619,8 @@ static void handle_calibration( struct SurviveCalData *cd ) } fsd.lengths[i][j][0] = cd->avglens[dataindex+0]; fsd.lengths[i][j][1] = cd->avglens[dataindex+1]; - // fsd.angles[i][j][0] = cd->avgsweeps[dataindex+0]; - // fsd.angles[i][j][1] = cd->avgsweeps[dataindex+1]; - survive_apply_bsd_calibration(ctx, lh, &cd->avgsweeps[dataindex], fsd.angles[i][j]); + fsd.angles[i][j][0] = cd->avgsweeps[dataindex + 0]; + fsd.angles[i][j][1] = cd->avgsweeps[dataindex + 1]; fsd.synctimes[i][j] = temp_syncs[i][j]; } |