Experiment Procedure - mklasinc/capstone GitHub Wiki
PRE-EXPERIMENT
- give instructions to the participants
- trial randomization, text file with trial-to-trial virtual sphere sizes is created (Matlab)
EXPERIMENT
Pre-trial
- send info about the condition and sphere sizes to the tablet App (Matlab --> Unity)
- goggles are closed, tablet app is running so the sphere tracking can be adjusted (Matlab --> goggles)
- when the following conditions are satisfied the trial can begin
- (a) the hand is at the starting position (Matlab)
- (b) the virtual spheres are tracked **(Unity --> Matlab)
- (c) the experimenter gives a sign (Matlab)
- message is sent to the tablet app to be sensitive to virtual sphere tracking status (Matlab --> Unity)
- the goggles are rendered transparent (Matlab --> goggles)
- beep indicates the beginning of trial, data collection begins (Matlab)
During trial
- if the tablet application loses track of the target, the goggles go opaque and the trial is deemed invalid (Unity --> Matlab & Matlab & Unity)
- when the markers on the hand are sufficiently close to the rod, the goggles become opaque (Matlab --> goggles)
- tablet app is informed that the the sensitive period with regards to virtual sphere tracking is done (Matlab --> Unity)
- data capture stops after the markers rest on the rod for a sufficient amount of time (Matlab)
- a beep signals the end of the trial (Matlab)
Post trial
- participant is instructed to put their hand to the starting position
- the spheres/QR codes are replaced by the experimenter
- the new stimulus is adjusted to ensure proper QR code tracking by the tablet application
- send info about the condition and sphere sizes to the tablet App (Matlab --> Unity)