Skip to content
Snippets Groups Projects
Commit f4443dcb authored by Moshi Turner's avatar Moshi Turner
Browse files

libsurvive: More info about how to use the SteamVR calibration

parent 8a6e1706
No related branches found
No related tags found
1 merge request!37More survive docs
Pipeline #825210 passed
...@@ -40,10 +40,10 @@ Without a more reliable lighthouse pose calibration, libsurvive is imperfect for ...@@ -40,10 +40,10 @@ Without a more reliable lighthouse pose calibration, libsurvive is imperfect for
Here is how: Here is how:
* Ensure you have launched steamvr at least once on your PC and delete your `~/.config/libsurvive/config.json` if it exists. * Ensure you have launched steamvr at least once on your PC, and delete your `~/.config/libsurvive/config.json` if it exists.
* By default libsurvive will seek out `~/.steam/steam/config/lighthouse/lighthousedb.json` but you may provide the location of a file after the `--steamvr-calibration $FILE`. * By default, libsurvive will seek out `~/.steam/steam/config/lighthouse/lighthousedb.json` but you may provide the location of a file after the `--steamvr-calibration $FILE`. (So far, all `lighthousedb.json` files valid for your current lighthouse arrangement, produced by Windows or Linux SteamVR, have been tested to work.)
* It will ingest this file and produce a `~/.config/libsurvive/config.json` using the exact parameters of your steamvr calibration. Any `lighthousedb.json` file taken from a working steamvr that represents your lighthouse configuration may be used. * Wait for libsurvive to get the OOTX packets and preambles and produce one `Info: MPFIT success <...>` message. At this point, libsurvive will take your `lighthousedb.json` and produce a `~/.config/libsurvive/config.json` using the exact parameters of your SteamVR calibration.
* Run all future monado and survive sessions with `SURVIVE_GLOBALSCENESOLVER=0` to prevent the survive driver from messing with the config in any capacity. It may be handy to add this value to your `/etc/enviornment` to ensure no survive run afterward can make a change. * Run all future Monado/libsurvive sessions with `SURVIVE_GLOBALSCENESOLVER=0` to prevent the survive driver from changing your libsurvive config. It may be handy to add this value to your `/etc/environment` file for convenience.
* Do *NOT* move your lighthouses from here out, this will invalidate the config, which you will have to run steamvr to gain a new calibration, then repeat the process. Easier to affix them completely before you attempt this. * Try not to move your lighthouses from this point onward - their position won't be recalibrated if you have set `SURVIVE_GLOBALSCENESOLVER=0`, and tracking won't work. If you do move them, rerun SteamVR to get a new `lighthousedb.json` then repeat this process.
* If you require a solid config with no drift in a wide area, this is the best solution. * If you require a solid config with no drift in a wide area, this is the best solution.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment