aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.h
diff options
context:
space:
mode:
authorJoshua Allen <axlecrusher@gmail.com>2017-02-25 14:22:13 -0500
committerJoshua Allen <axlecrusher@gmail.com>2017-02-25 14:22:13 -0500
commit021eb3fd655629b3d11b9923098689bf96c26890 (patch)
tree679c0b92846518e29fe3376f0dd3840bd1db5d03 /src/survive_cal.h
parent4c4969d0cb0f817de2aa866a7d8abfde6ecaff82 (diff)
parentf92f5dc93cbb53a99da51984541a7e4a70605639 (diff)
downloadlibsurvive-021eb3fd655629b3d11b9923098689bf96c26890.tar.gz
libsurvive-021eb3fd655629b3d11b9923098689bf96c26890.tar.bz2
Merge github.com:cnlohr/libsurvive
Conflicts: Makefile
Diffstat (limited to 'src/survive_cal.h')
-rw-r--r--src/survive_cal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/survive_cal.h b/src/survive_cal.h
index bf6161d..0a772f1 100644
--- a/src/survive_cal.h
+++ b/src/survive_cal.h
@@ -31,7 +31,7 @@ void survive_cal_light( struct SurviveObject * so, int sensor_id, int acode, int
void survive_cal_angle( struct SurviveObject * so, int sensor_id, int acode, uint32_t timecode, FLT length, FLT angle );
#define MAX_SENSORS_TO_CAL 96
-#define DRPTS 512
+#define DRPTS 1024
#define MAX_CAL_PT_DAT (MAX_SENSORS_TO_CAL*NUM_LIGHTHOUSES*2)
struct SurviveCalData
{
@@ -48,6 +48,7 @@ struct SurviveCalData
int8_t times_found_common;
//For camfind (4+)
+ //Index is calculated with: int dataindex = sen*(2*NUM_LIGHTHOUSES)+lh*2+axis;
FLT avgsweeps[MAX_CAL_PT_DAT];
FLT avglens[MAX_CAL_PT_DAT];
FLT stdsweeps[MAX_CAL_PT_DAT];