diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-03-20 15:52:23 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-03-20 16:09:07 -0600 |
commit | 8d269a56805d4abd3f912b789cbd9b3b3f8925c0 (patch) | |
tree | 5b666bc90649def4c05338b96dd66b1beefba724 /include/libsurvive/survive_types.h | |
parent | 8ec5d7facc76e05859444335adbdbfd2bbbad852 (diff) | |
download | libsurvive-8d269a56805d4abd3f912b789cbd9b3b3f8925c0.tar.gz libsurvive-8d269a56805d4abd3f912b789cbd9b3b3f8925c0.tar.bz2 |
Added functionality to standardize where found lighthouses go
Diffstat (limited to 'include/libsurvive/survive_types.h')
-rw-r--r-- | include/libsurvive/survive_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libsurvive/survive_types.h b/include/libsurvive/survive_types.h index 5f5dd1f..7253df0 100644 --- a/include/libsurvive/survive_types.h +++ b/include/libsurvive/survive_types.h @@ -53,7 +53,8 @@ typedef void (*imu_process_func)( SurviveObject * so, int mask, FLT * accelgyro, 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 (*lighthouse_pose_func)(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *pose); +typedef void (*lighthouse_pose_func)(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *lighthouse_pose, + SurvivePose *object_pose); typedef int(*haptic_func)(SurviveObject * so, uint8_t reserved, uint16_t pulseHigh , uint16_t pulseLow, uint16_t repeatCount); |