aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.h
diff options
context:
space:
mode:
authormwturvey <michael.w.turvey@intel.com>2017-03-24 15:19:59 -0700
committermwturvey <michael.w.turvey@intel.com>2017-03-24 15:19:59 -0700
commit4dc1d72785c660c206f8def9d8c8aa32289c2709 (patch)
treeb6b06ee4504ac4afd76a885343373919e120341b /src/survive_cal.h
parentf7d1c19e299df46087eb8693d2d0c0637d2e395f (diff)
downloadlibsurvive-4dc1d72785c660c206f8def9d8c8aa32289c2709.tar.gz
libsurvive-4dc1d72785c660c206f8def9d8c8aa32289c2709.tar.bz2
More cleanup & finishing genericization of calibrator
Diffstat (limited to 'src/survive_cal.h')
-rw-r--r--src/survive_cal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/survive_cal.h b/src/survive_cal.h
index 8f4e4de..ae644d1 100644
--- a/src/survive_cal.h
+++ b/src/survive_cal.h
@@ -30,9 +30,11 @@ int survive_cal_get_status( SurviveContext * ctx, char * description, int descri
//Called from survive_default_light_process
void survive_cal_light( SurviveObject * so, int sensor_id, int acode, int timeinsweep, uint32_t timecode, uint32_t length, uint32_t lighthouse);
-void survive_cal_angle( SurviveObject * so, int sensor_id, int acode, uint32_t timecode, FLT length, FLT angle );
+void survive_cal_angle( SurviveObject * so, int sensor_id, int acode, uint32_t timecode, FLT length, FLT angle, uint32_t lh );
-#define MAX_SENSORS_TO_CAL 96
+#define MAX_SENSORS_PER_DEVICE 32
+#define MAX_DEVICES_TO_CAL 3
+#define MAX_SENSORS_TO_CAL (MAX_SENSORS_PER_DEVICE * MAX_DEVICES_TO_CAL)
#define MIN_PTS_BEFORE_CAL 24