From f92f5dc93cbb53a99da51984541a7e4a70605639 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sat, 25 Feb 2017 13:29:07 -0500 Subject: Update files, working lhfind whithin libsurvive. --- src/survive_cal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/survive_cal.h') 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]; -- cgit v1.2.3 From 55cedfc6a6b035d6eb54457782818fef61cae500 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sat, 25 Feb 2017 23:52:48 -0500 Subject: Huge shift: Put HTC vive into its own file, to free up the rest of the system for libsurvive. --- src/survive_cal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/survive_cal.h') diff --git a/src/survive_cal.h b/src/survive_cal.h index 0a772f1..bb4eb32 100644 --- a/src/survive_cal.h +++ b/src/survive_cal.h @@ -57,6 +57,8 @@ struct SurviveCalData int senid_of_checkpt; //This is a point on a watchman that can be used to check the lh solution. + struct SurviveObject * hmd; + //Stage: // 0: Idle // 1: Collecting OOTX data. -- cgit v1.2.3