diff options
author | Mike Turvey <mturvey6@gmail.com> | 2017-03-23 00:25:25 -0700 |
---|---|---|
committer | Mike Turvey <mturvey6@gmail.com> | 2017-03-23 00:25:25 -0700 |
commit | 472d05c2a356ec6d71669d67fb599e401a6f4a76 (patch) | |
tree | 696f032716f200c4bdfb4899b2b6ba928ad883c2 /include/libsurvive/survive.h | |
parent | e1818d84e1ab0ae217d8035f8a12398f06508059 (diff) | |
download | libsurvive-472d05c2a356ec6d71669d67fb599e401a6f4a76.tar.gz libsurvive-472d05c2a356ec6d71669d67fb599e401a6f4a76.tar.bz2 |
Updated disambiguator. Solid OOTX
Diffstat (limited to 'include/libsurvive/survive.h')
-rw-r--r-- | include/libsurvive/survive.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h index e04586c..c3b6a03 100644 --- a/include/libsurvive/survive.h +++ b/include/libsurvive/survive.h @@ -47,6 +47,7 @@ struct SurviveObject int32_t pulse_synctime_slack; //5,000 for normal vive hardware. (guessed) //Flood info, for calculating which laser is currently sweeping. + void * disambiguator_data; int8_t oldcode; int8_t sync_set_number; //0 = master, 1 = slave, -1 = fault. int8_t did_handle_ootx; //If unset, will send lightcap data for sync pulses next time a sensor is hit. @@ -129,7 +130,7 @@ void survive_cal_install( SurviveContext * ctx ); //XXX This will be removed if //Call these from your callback if overridden. //Accept higher-level data. -void survive_default_light_process( SurviveObject * so, int sensor_id, int acode, int timeinsweep, uint32_t timecode, uint32_t length ); +void survive_default_light_process( SurviveObject * so, int sensor_id, int acode, int timeinsweep, uint32_t timecode, uint32_t length , int lh); void survive_default_imu_process( SurviveObject * so, int mode, FLT * accelgyro, uint32_t timecode, int id ); void survive_default_angle_process( SurviveObject * so, int sensor_id, int acode, uint32_t timecode, FLT length, FLT angle ); |