README
The documentation for most files can be found inside the file itself. The most important files are:
- control.py: For setting up the conditions
- app.py: For running the HTML user interface
- server.py: For running the relay server
To setup the experiment environment, you should:
- Connect the HMDs to same network as the server
- Start the relay server (i.e. server.py)
- Start the HTML user interface (e.g. using
fastapi dev app.py) - Communicate the server IP to the HMDs using
TARGET_IP=<HMD IPs> python3 control.py 'IP:<server ip>' - Setup the desired condition (see control.py for more information)
- Shuffle the word-list (i.e. word-list.txt); on linux this can be achieved using shuf e.g.
shuf word-list.txt > word-list-shuffled.txt