diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-04-03 15:11:12 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-04-03 17:01:14 -0600 |
commit | 18b20af7195b94889924156de2b4aa704b2c7391 (patch) | |
tree | 0eb3e3ab817341595167a949f67d5c0ba1dd879f /include/libsurvive/survive_types.h | |
parent | d3d159772f1684082d7a545fbb3028d98d803308 (diff) | |
download | libsurvive-18b20af7195b94889924156de2b4aa704b2c7391.tar.gz libsurvive-18b20af7195b94889924156de2b4aa704b2c7391.tar.bz2 |
Refactor pose function to get timecode and not lh
Diffstat (limited to 'include/libsurvive/survive_types.h')
-rw-r--r-- | include/libsurvive/survive_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libsurvive/survive_types.h b/include/libsurvive/survive_types.h index 7a7dbf1..edce3e9 100644 --- a/include/libsurvive/survive_types.h +++ b/include/libsurvive/survive_types.h @@ -49,7 +49,7 @@ typedef void (*light_process_func)( SurviveObject * so, int sensor_id, int acode typedef void (*imu_process_func)( SurviveObject * so, int mask, FLT * accelgyro, uint32_t timecode, int id ); typedef void (*angle_process_func)( SurviveObject * so, int sensor_id, int acode, uint32_t timecode, FLT length, FLT angle, uint32_t lh); typedef void(*button_process_func)(SurviveObject * so, uint8_t eventType, uint8_t buttonId, uint8_t axis1Id, uint16_t axis1Val, uint8_t axis2Id, uint16_t axis2Val); -typedef void (*raw_pose_func)(SurviveObject *so, uint8_t lighthouse, SurvivePose *pose); +typedef void (*pose_func)(SurviveObject *so, uint32_t timecode, SurvivePose *pose); typedef void (*lighthouse_pose_func)(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *lighthouse_pose, SurvivePose *object_pose); // For lightcap, etc. Don't change this structure at all. Regular vive is dependent on it being exactly as-is. |