aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/poser.h
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-21 01:20:49 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-21 01:20:49 -0600
commit3209993da5cd0bed791babf5a45cdb42cd1e6f46 (patch)
treeed79526b99a0ab619e65062c45a2f64d40b33f2d /include/libsurvive/poser.h
parent31d9fc358a85fe47dab28f78c396ee1f8d4d6dbb (diff)
parentbe3fa4562f9578472de1ded5588df8dc502898c6 (diff)
downloadlibsurvive-3209993da5cd0bed791babf5a45cdb42cd1e6f46.tar.gz
libsurvive-3209993da5cd0bed791babf5a45cdb42cd1e6f46.tar.bz2
Merge branch 'master' into standard_lh_calib
Diffstat (limited to 'include/libsurvive/poser.h')
-rw-r--r--include/libsurvive/poser.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/libsurvive/poser.h b/include/libsurvive/poser.h
index 6b5b09d..b0b1a7b 100644
--- a/include/libsurvive/poser.h
+++ b/include/libsurvive/poser.h
@@ -8,13 +8,14 @@
extern "C" {
#endif
-typedef enum PoserType_t
-{
+typedef enum PoserType_t {
POSERDATA_NONE = 0,
POSERDATA_IMU,
- POSERDATA_LIGHT, //Single lighting event.
- POSERDATA_FULL_SCENE, //Full, statified X, Y sweep data for both lighthouses.
- POSERDATA_DISASSOCIATE, //If you get this, it doesn't contain data. It just tells you to please disassociate from the current SurviveObject and delete your poserdata.
+ POSERDATA_LIGHT, // Single lighting event.
+ POSERDATA_FULL_SCENE, // Full, statified X, Y sweep data for both lighthouses.
+ POSERDATA_DISASSOCIATE, // If you get this, it doesn't contain data. It just tells you to please disassociate from
+ // the current SurviveObject and delete your poserdata.
+ POSERDATA_SYNC, // Sync pulse.
} PoserType;
typedef void (*poser_raw_pose_func)(SurviveObject *so, uint8_t lighthouse, SurvivePose *pose, void *user);