aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-22 10:11:22 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-22 10:11:22 -0600
commitabb8176f4ef23047a66e416f3f3a6eee6fc7a0c4 (patch)
tree5e2a52a8372aa198ce4a4708ed1ea7e7d5d876ff /README.md
parent6f54646482e44051af1d3e2965012888b00e2038 (diff)
downloadlibsurvive-abb8176f4ef23047a66e416f3f3a6eee6fc7a0c4.tar.gz
libsurvive-abb8176f4ef23047a66e416f3f3a6eee6fc7a0c4.tar.bz2
Fixed startup bug; changed config names to be consistent
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
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