aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/survive_imu.h
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2018-04-07 12:42:50 -0400
committercnlohr <lohr85@gmail.com>2018-04-07 12:42:50 -0400
commit864388d05fc56e9e11fe870d4b5b501a378e9186 (patch)
tree982b458ade55c23a4b460b0972f2082b6c671d10 /include/libsurvive/survive_imu.h
parent795f7802faa8d612e13d5853a0da98ad96a2746e (diff)
parentb792a65dbfbb304927400ca6c754195d92089b61 (diff)
downloadlibsurvive-864388d05fc56e9e11fe870d4b5b501a378e9186.tar.gz
libsurvive-864388d05fc56e9e11fe870d4b5b501a378e9186.tar.bz2
Merge branch 'master' of https://github.com/cnlohr/libsurvive
Diffstat (limited to 'include/libsurvive/survive_imu.h')
-rw-r--r--include/libsurvive/survive_imu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libsurvive/survive_imu.h b/include/libsurvive/survive_imu.h
index 8a86425..11635aa 100644
--- a/include/libsurvive/survive_imu.h
+++ b/include/libsurvive/survive_imu.h
@@ -4,6 +4,7 @@
#include "poser.h"
#include "survive_types.h"
#include <stdint.h>
+#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
@@ -12,6 +13,8 @@ extern "C" {
struct SurviveIMUTracker_p;
typedef struct {
+ bool is_initialized;
+
FLT updir[3];
FLT accel_scale_bias;