diff options
author | cnlohr <lohr85@gmail.com> | 2018-03-14 23:54:14 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2018-03-14 23:54:14 -0400 |
commit | 61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032 (patch) | |
tree | d5e4efd164d0001bb2545a2ff829c2ab201c0296 /src/survive_cal.c | |
parent | 3681b5df3cf518b0ded815d93cb45b176aea7440 (diff) | |
download | libsurvive-61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032.tar.gz libsurvive-61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032.tar.bz2 |
rename nr_locations to sensor_ct
Also, make it easier to see edges in calibrate.
Diffstat (limited to 'src/survive_cal.c')
-rwxr-xr-x | src/survive_cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive_cal.c b/src/survive_cal.c index fb3b240..2fd96ef 100755 --- a/src/survive_cal.c +++ b/src/survive_cal.c @@ -655,7 +655,7 @@ static void handle_calibration( struct SurviveCalData *cd ) FLT reproj_err = 0; size_t cnt = 0; SurviveObject *so = cd->poseobjects[obj]; - for (size_t idx = 0; idx < so->nr_locations; idx++) { + for (size_t idx = 0; idx < so->sensor_ct; idx++) { FLT *lengths = fsd.lengths[idx][lh]; FLT *pt = fsd.angles[idx][lh]; if (lengths[0] < 0 || lengths[1] < 0) |