From c5fc97504a9e46f0370587ae39f4b6e10615f813 Mon Sep 17 00:00:00 2001 From: Justin Berger Date: Fri, 16 Mar 2018 15:07:00 -0600 Subject: Playback now goes to a single file. Note that the file format changed too so that it always starts 'time' 'device name' --- src/survive_process.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/survive_process.c') 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 ) -- cgit v1.2.3