aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.h
diff options
context:
space:
mode:
authormwturvey <michael.w.turvey@intel.com>2017-03-17 16:32:18 -0700
committermwturvey <michael.w.turvey@intel.com>2017-03-17 16:32:18 -0700
commite1818d84e1ab0ae217d8035f8a12398f06508059 (patch)
tree08ad309ac2e299fbc19ec01371ee2fa62c29a71c /src/survive_cal.h
parent7f62d016ff5fe45e9cae0ff29c189b64ed1bb315 (diff)
downloadlibsurvive-e1818d84e1ab0ae217d8035f8a12398f06508059.tar.gz
libsurvive-e1818d84e1ab0ae217d8035f8a12398f06508059.tar.bz2
Alternate disambiguator and calibration updates
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 3d62051..8c488bd 100644
--- a/src/survive_cal.h
+++ b/src/survive_cal.h
@@ -37,7 +37,7 @@ void survive_cal_angle( SurviveObject * so, int sensor_id, int acode, uint32_t t
#define MIN_PTS_BEFORE_CAL 24
#define DRPTS 128
-#define POSE_OBJECTS 3
+#define MAX_POSE_OBJECTS 10
#define MAX_CAL_PT_DAT (MAX_SENSORS_TO_CAL*NUM_LIGHTHOUSES*2)
struct SurviveCalData
@@ -64,7 +64,9 @@ struct SurviveCalData
int senid_of_checkpt; //This is a point on a watchman that can be used to check the lh solution.
- SurviveObject * poseobjects[POSE_OBJECTS];
+ SurviveObject * poseobjects[MAX_POSE_OBJECTS];
+
+ size_t numPoseObjects;
PoserCB ConfigPoserFn;