aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.h
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-03-14 01:34:10 -0400
committercnlohr <lohr85@gmail.com>2017-03-14 01:34:10 -0400
commita630cc4252f3a64ca89e40fb726f103789734baa (patch)
treeb136336ccb188e9c5f230c659f79ed02a14f28ec /src/survive_cal.h
parent44dc07e5fff7421289397ecd1051bd56012faac6 (diff)
downloadlibsurvive-a630cc4252f3a64ca89e40fb726f103789734baa.tar.gz
libsurvive-a630cc4252f3a64ca89e40fb726f103789734baa.tar.bz2
Update calibration system to use distances. Need to process through that data tomorrow.
Diffstat (limited to 'src/survive_cal.h')
-rw-r--r--src/survive_cal.h7
1 files changed, 5 insertions, 2 deletions
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;