User Tools

Site Tools


biac:experimentalcontrol:headtracker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
biac:experimentalcontrol:headtracker [2014/08/04 16:03]
127.0.0.1 external edit
biac:experimentalcontrol:headtracker [2023/02/23 18:43] (current)
Line 1: Line 1:
 ===== Head Tracking Device ===== ===== Head Tracking Device =====
-===Setting up the Tracking Computer at the Mock Scanner=== 
  
-  - Log into Mesmer: the right most keyboard, and the computer screen to the right labeled “Tracking”. + We use a custom head tracking device made in house using the [[http://www.arduino.cc/|arduino]] and a [[https://www.sparkfun.com/products/10724|9 dof IMU]]\\ 
-  Open Matlab by going to the Start Menu – All programs – Matlab 7.0.4 + Software BIACTracker is a java applet written in [[https://www.processing.org/|processing]] that reads the IMU's yaw/pitch/roll output\\ 
-    - Navigate to the MRI Simulator directory by typing “cd D:\Programs\MRI_Simulator” (without the quotes) in the command window or by navigating using the current directory window + The software can interact with any type of media running through VLC Player as long as VLC's http interface is configured.  This is used to pause/resume media as a motivation to keep the head still.\\ 
-    - In the command window type “track” (again, without the quotes)This should launch the head tracking software. + - The pause threshold is configurable through software and will automatically resume after 3 seconds.
-{{:biac:experimentalcontrol:headtrack.jpg|:biac:experimentalcontrol:headtrack.jpg}} +
-  When you are ready to begin tracking click on the “Start Tracking” button. you should see 3 colored lines (for the X, Y, and Z, dimensions). +
-  - When you would like to stop tracking click on the “Stop Tracking” button. +
-  - Optional Parameters +
-    - If you need to re-zero the tracking lines after a large head movement – click on the “Re-zero Position” button. +
-    -You can adjust the desired spatial range for head tracking (the default is +/- 5mm). +
-    -You can keep a log of the motion by selecting the appropriate option. +
-    -You can Enable Reinforcement (for use with the DVD player, see further instructions below).  +
-  - Set up whatever display you would like the subject to see using the keyboard to the left, and the monitor labeled "Stimuli"+
-  +
-******Important! Be sure that the polhemus sensor is inside the scanner bore (either on the subject or moved into the scanner manually for testing) before beginning to track.  The program will not work properly if the sensor is outside the bore of the mock scanner.****** +
  
-===Setting up the DVD with the Head Tracker at the Mock Scanner=== +=== Head Tracking Instructions === 
-The DVD player can be used in conjunction with the Head Tracking software to enable operant conditioning of the subjectWhen the subject moves his or her head beyond a specified threshold, the DVD player will pauseThe duration of the pause can be controlled both by the software and the individual monitoring the movement. This is ideal for training young subjects on how to be still in the scanner + 
-  - Turn the DVD player that is labeled DVD on. + The Mock scanner now operates through a single computer.  Once logged in there will be a BIACTracker icon on the desktop ( this opens the java applet ).\\ 
-  - Insert the desired DVD into the DVD player labeled DVD+ - The tracker will have two LEDs that show it its connected and on ... a green one on the black case containing the arduino and a blue LED on the IMU that is placed on the headband.  If both of these are on, then the tracker is connected and powered on.  If they are off, just plug in the USB cable connected to the black case.\\ 
-  On the "ViewSonic" switcherwhich rests on top of the DVD players, press the "inputbutton until the "s-video" display comes up on the monitor in the mock scanner. You should be able to see the DVD playing. + Once the tracker is powered upopen the BIACTracker applet. 
-  - Set the DVD to the desired segment, and press pause+ 
-  Set up the head tracking software (see full instructions above) +{{ :biac:experimentalcontrol:biactracker_instructions.png?direct |}} 
-  Optional settings + 
-    - You can turn the scanner sounds DVD player on and play the scanner sounds simultaneously with the DVD. This helps simulate the noise of the scanning environment. Please note, that the scanner noise is much louder at the actual scanner.  + - Once the software is open and YPR lines are showing, press the "Akey on the keyboard to align the IMU sensors to the orientation of your subject.  You may need to do this a couple times one the subject is settled.\\ 
-    Volume for both the DVD and the scanner sounds can be adjusted with the main volume control on each respective DVD player.  + 
-  Other notes + **DEGREES**: controls the degree of YPR required to trigger alerts if they are on )\\ 
-    -If the subject makes a large movementyou may need to click on the “Re-zero Position” for the lines to reappear in the tracking window. + **ALERT**:   a toggle that turns on/off visual alerts on the plot only\\ 
-    -If the subject makes a large movement, you may need to click on the “Play/Pause” button to re-start the DVD. + **LEVEL**:   this is automatically align the YPR plot to the subject's orientation every time the plot starts over ( useful if subject moves to new positions frequently )\\  
 + **PAUSE VLC**: if you have media playing in VLC and want to pause it when subject goes over your set threshold\\ 
 +   this will attempt to connect to the http interface of VLCif it cannot connect the software will automatically turn this off\\ 
 +   - Piaget is configured to turn on the http interface\\ 
 +   The media playing MUST be in VLC's playlist to work\\ 
 +   - We've found that digital media work much better and have uploaded some digital copies of our movies here ( \\Munin\Docs\Movies )\\ 
 +   - you can test the software's connection to VLC with the "P" key ( p = pause )
  
biac/experimentalcontrol/headtracker.1407168181.txt.gz · Last modified: 2014/11/13 16:13 (external edit)