WaterMaze
Contents |
Running WaterMaze
- Enable in mycalvr.xml
- In WaterMaze submenu of CalVR, hit Load
Commands
l - load geometry n - next trial r - repeat trial b - back to previous trial p - play/pause h - help 1-9 - reset position
To run the game, after you have loaded CalVR, press 'l' to load the game, then press 'p' to start the first trial. After the trial has completed, press 'n' to go to the next trial in the sequence, 'b' to go to a previous trial, or 'r' to repeat current trial. After you have selected a trial, press 'p' to start the trial.
When the game is paused, you may press the numbers 1-9 to reset the position of the subject to a predefined position (currently the 4 corners and the center).
Defining Trials in Config File
In the WaterMaze section of the config file (usually mycalvr.xml), the section to define the trials is:
<Trials> <1 NumWidth="6" NumHeight="6" Time="15" /> <2 NumWidth="7" NumHeight="7" Time="20" /> <3 NumWidth="8" NumHeight="8" Time="30" /> </Trials>
Each trial is numbered sequentially. NumWidth and NumHeight specify the number of tiles in each direction. Time is the length of the trial in seconds.
Doxygen API Generation
The WaterMaze CalVR contains doxygen comment tags. To enable the build of the WaterMaze API, set the value, MAKE_WATERMAZE_DOCUMENTATION to ON inside cmake. The API is included in the git repository and building WaterMaze with the MAKE_WATERMAZE_DOCUMENTATION value ON will regenerate the API. The documentation is located inside the root directory of the WaterMaze project folder inside the folder labeled doc.