From a630cc4252f3a64ca89e40fb726f103789734baa Mon Sep 17 00:00:00 2001 From: cnlohr Date: Tue, 14 Mar 2017 01:34:10 -0400 Subject: Update calibration system to use distances. Need to process through that data tomorrow. --- src/survive_cal.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/survive_cal.h') diff --git a/src/survive_cal.h b/src/survive_cal.h index ce61962..3d62051 100644 --- a/src/survive_cal.h +++ b/src/survive_cal.h @@ -35,7 +35,10 @@ void survive_cal_angle( SurviveObject * so, int sensor_id, int acode, uint32_t t #define MAX_SENSORS_TO_CAL 96 #define MIN_PTS_BEFORE_CAL 24 -#define DRPTS 32 +#define DRPTS 128 + +#define POSE_OBJECTS 3 + #define MAX_CAL_PT_DAT (MAX_SENSORS_TO_CAL*NUM_LIGHTHOUSES*2) struct SurviveCalData { @@ -61,7 +64,7 @@ struct SurviveCalData int senid_of_checkpt; //This is a point on a watchman that can be used to check the lh solution. - SurviveObject * hmd; + SurviveObject * poseobjects[POSE_OBJECTS]; PoserCB ConfigPoserFn; -- cgit v1.2.3