aboutsummaryrefslogtreecommitdiff
path: root/src/survive_process.c
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-16 15:07:00 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-16 15:07:00 -0600
commitc5fc97504a9e46f0370587ae39f4b6e10615f813 (patch)
tree696d48b99f41c10e81d775e567429361c35c4227 /src/survive_process.c
parentab218043f3d9ca6dd44f130a8c4255e102cb7a06 (diff)
downloadlibsurvive-c5fc97504a9e46f0370587ae39f4b6e10615f813.tar.gz
libsurvive-c5fc97504a9e46f0370587ae39f4b6e10615f813.tar.bz2
Playback now goes to a single file. Note that the file format changed too so that it always starts 'time' 'device name'
Diffstat (limited to 'src/survive_process.c')
-rw-r--r--src/survive_process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/survive_process.c b/src/survive_process.c
index c9225e4..b697f4a 100644
--- a/src/survive_process.c
+++ b/src/survive_process.c
@@ -3,6 +3,7 @@
#include "survive_cal.h"
#include "survive_config.h"
+#include "survive_default_devices.h"
//XXX TODO: Once data is avialble in the context, use the stuff here to handle converting from time codes to
//proper angles, then from there perform the rest of the solution.
@@ -126,6 +127,9 @@ void survive_default_lighthouse_pose_process(SurviveContext *ctx, uint8_t lighth
config_save(ctx, "config.json");
}
+int survive_default_htc_config_process(SurviveObject *so, char *ct0conf, int len) {
+ return survive_load_htc_config_format(so, ct0conf, len);
+}
void survive_default_imu_process( SurviveObject * so, int mask, FLT * accelgyromag, uint32_t timecode, int id )
{
if( so->PoserFn )