Some aspects of the tracker can be configured at runtime using environment variables. The following environment variables are currently recognized by the tracker (with examples for the Linux/Unix bash):
If set, this is the camera that will be used when using
psmove_tracker_new()instead of using auto-detection.
export PSMOVE_TRACKER_CAMERA=2 # Will use the 3rd camera
If set, this will use a video file to playback instead of capturing from a camera. Any camera settings are ignored.
export PSMOVE_TRACKER_FILENAME=demo.avi # Will play demo.avi
- PSMOVE_TRACKER_WIDTH, PSMOVE_TRACKER_HEIGHT
If set, these variables control the desired size of the camera picture.
export PSMOVE_TRACKER_WIDTH=1280 export PSMOVE_TRACKER_HEIGHT=720
If set, this points to an XML file created by