From abb8176f4ef23047a66e416f3f3a6eee6fc7a0c4 Mon Sep 17 00:00:00 2001 From: Justin Berger Date: Thu, 22 Mar 2018 10:11:22 -0600 Subject: Fixed startup bug; changed config names to be consistent --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 518a985..4b18c43 100644 --- a/README.md +++ b/README.md @@ -268,25 +268,25 @@ Compiling this minimal example only requires the include path for survive.h as w As mentioned, only the pose from lighthouse number `0` is used. Since the callback is called for all tracked devices, `so->codename` can be used to differentiate between devices like `HMD`, `WM0`, etc. -# Playback +# Record / Playback libsurvive has an integrated tool that allows you to record and playback streams from all supported devices. To save off a stream, invoke it as follows: ``` make -./data_recorder -o my_playback_file +./data_recorder --record my_playback_file ``` This gives you a file -- my_playback_file -- with all the device configurations and events file you need to replay it. You can also just let it stream to standard output, but this tends to be a lot of information. -To actually replay it, put that directory path in the 'playbackfile' configuration value in config.json and run libsurvive as usual. Note that this will purposefully stop the USB devices from loading as to not confuse the library with inconsistent data. +To actually replay it, put that directory path in the 'playback' configuration value in config.json and run libsurvive as usual. Note that this will purposefully stop the USB devices from loading as to not confuse the library with inconsistent data. You can also replay it just with command line options: ``` -./calibrate --playbackfile my_playback_file +./calibrate --playback my_playback_file ``` ## Playback speed -- cgit v1.2.3