Skip to content

Commit

Permalink
Create Head-Tracking.md
Browse files Browse the repository at this point in the history
  • Loading branch information
the-sane authored Aug 27, 2024
1 parent ff0fd82 commit 8dfdc2c
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions wiki/Head-Tracking.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## Head tracking hardware

#### Hardware our Penguins have had success with
- Delanclip with Opentrack works very well
- PS3 camera: Remove the IR filter. Some people place a visible light filter there instead to reduce noise

#### Use your Phone
- iPhone: Our Penguins tend to prefer the [Head Tracker app by John Yu](https://apps.apple.com/us/app/head-tracker/id1527710071). It works on iPhone X or later using the FaceID IR sensors and, therefore, works well in low light. It has a trial period to test it out. It costs $2 US
- Android: Our Penguins tend to like the [SmoothTrack app by John Goering](https://play.google.com/store/apps/details?id=com.epaga.smoothtrack&gl=US). It costs $10 US

#### Webcam
- Use your webcam with the ArUco Paper Method: A tutorial is written in our Org's [Spectrum Forums](https://robertsspaceindustries.com/spectrum/community/LUG/forum/194647/thread/tutorial-opentrack-aruco-for-star-citizen-via-lutr). (Note: Ignore the outdated Opentrack installation steps in that thread)

#### TrackIR
-

#### Unsupported hardware
- Tobii does not support Linux. Its opentrack support uses the Windows only SDK.


## Opentrack configuration
Opentrack versions 2023.1.0 and later contain the fixes needed to work with Star Citizen. After installing it, use the following configuration:

1. Select `Wine` in the Output dropdown
2. Click the `Configure` button next to it
3. Under `Wine variant`, select the `Wine` radio button and then choose the Wine version or Lutris Runner you're using with Star Citizen
4. Click `Browse Prefix` and select your Star Citizen Wine prefix (Lutris Default: ~/Games/star-citizen)
5. Next to `Protocol`, make sure `Both` is selected

Launch Star Citizen and configure its head tracking options under `Comms, FOIP & Head Tracking`
1. Set `Head Tracking - General - Source` to `TrackIR`
2. Set `Head Tracking - General - Toggle - Enabled` to `Yes`

*Notes:*
*May not work with Flatpak Lutris*
*If compiling from source, make sure `SDK_WINE` is set*

#### Building Opentrack with ONNX Runtime
If you provide ONNX Runtime libraries to Opentrack when building it, it will offer Neuralnet as input option. This will allow you to use any webcam as headtracking device.

1. Install [`wine` development branch](https://wiki.winehq.org/Download).
2. Download and extract [ONNX Runtime](https://github.com/microsoft/onnxruntime/releases).
3. Install [Opentrack](https://github.com/opentrack/opentrack/wiki/Building-on-Linux) with some extra steps when using `cmake` or `ccmake`.
- Set variable `SDK_WINE`.
- Set variable `ONNXRuntime_DIR` to absolute path to extracted ONNX Runtime folder.
4. Follow [above instructions](#head-tracking-using-opentrack).
5. Select `neuralnet tracker` as input.

*Note:*
*Do not remove ONNX Runtime after you are done. Opentrack won't have Neuralnet as input if you do remove it.*

0 comments on commit 8dfdc2c

Please sign in to comment.