Difference between revisions of "User:Cehughes"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Projects)
 
(12 intermediate revisions by one user not shown)
Line 5: Line 5:
 
* turn on 3 power strips under center screens
 
* turn on 3 power strips under center screens
 
* if already logged in, System -> Log off
 
* if already logged in, System -> Log off
* log in with user credentials provided
+
* log in with user credentials provided (account: neuro)
 
* open a terminal
 
* open a terminal
 
* run "gedit mycalvr.xml &"
 
* run "gedit mycalvr.xml &"
Line 20: Line 20:
 
* if a specific node dies, run ssh nexcave-X-X (numbers from the map on the wall) reboot
 
* if a specific node dies, run ssh nexcave-X-X (numbers from the map on the wall) reboot
 
* if a node still dies, find Philip/Andrew/Joe/Jurgen to hard reboot the server in the server room
 
* if a node still dies, find Philip/Andrew/Joe/Jurgen to hard reboot the server in the server room
 +
* When you start CalVR, if it starts asking for passwords, just keep hitting return until it dies.  You should see a "Gnome Keyring has crashed" notification.  Wait a minute, then start CalVR again.
  
==Running ElevatorRoom==
+
==Joystick==
* Enable in mycalvr.xml
+
* If the joystick does not work, first make sure it is plugged in.
* In ElevatorRoom submenu of CalVR, hit Load
+
* To start trial, uncheck the Pause button
+
* When trial ends and score is displayed, hit 'n' on the keyboard to start the next trial
+
  
====USB to Serial Cable Instructions====
+
* If the joystick still does not work, run the following commands:
 +
  cd /home/neuro/CalVR/applications/vrpn_libusb_general
 +
  /home/neuro/CalVR/bin/libusb_general_server vrpn.xml &
  
* Install old version of libftd2xx (currently in my home directory on nexcave).
+
* If it then complains about libusb couldn't open USB device /dev/bus/usb/XXX/XXX: Permission denied, run:
* Install on all the nodes (how? ask Joe)
+
  sudo chmod a+rw /dev/bus/usb/XXX/XXX (or get someone with sudo privileges to run it for you)
* Plug in cable.
+
then run:
* chmod a+rw /dev/bus/usb/XXX/XXX (replace XXXs with actual IDs)
+
  cd /home/neuro/CalVR/applications/vrpn_libusb_general
* /sbin/rmmod ftdi_sio
+
  /home/neuro/CalVR/bin/libusb_general_server vrpn.xml &
 +
again.
  
==Running WaterMaze==
+
* It will say "Init good." when it has initialized correctly.
* Enable in mycalvr.xml
+
 
* In WaterMaze submenu of CalVR, hit Load
+
===Developer notes===
 +
Be sure CalVR has been compiled recently, with the VRPN options in cmake enabled.  On the nexcave, be sure to link against the extern_libs that are located in /opti/extern_libs/el6.
 +
 
 +
Also set CalVR to compile against the libusb version in /opti/extern_libs/el6.  If it compiles against another version, it will segfault in libusb's call to get_device_list.
 +
 
 +
==Installing/Updating libcollider==
 +
* Get the code by running
 +
  git clone https://github.com/libCollider/libcollider.git libcollider
 +
 
 +
* Compile:
 +
  cd libcollider
 +
  make
 +
  sudo make install
 +
 
 +
* However this will only install it locally in /usr/lib and /usr/include, not on all the cluster nodes. To install it to the extern_libs, edit the Makefile to change
 +
  INSTALL_LIB_DIR to /opti/extern_libs/el6/lib/
 +
  INSTALL_INCLUDE_DIR to /opti/extern_libs/el6/include/
 +
then run:
 +
  make install
 +
 
 +
* Make sure the plugins link to the newly installed version by changing the COLLIDER_DIR variables in cmake.
 +
 
 +
==Projects==
 +
* [[ElevatorRoom]]
 +
* [[WaterMaze]]
 +
* [[AcoustiMaze]]
 +
* CaveCADBeta
 +
* EOGCalibration
 +
* [[SESMI]]

Latest revision as of 16:52, 9 August 2013

Contents

Starting the NexCAVE

  • make sure you have door access
  • check calendar for demos at http://reservations.calit2.net/BrowseForSpace.aspx
  • turn on 3 power strips under center screens
  • if already logged in, System -> Log off
  • log in with user credentials provided (account: neuro)
  • open a terminal
  • run "gedit mycalvr.xml &"
  • make sure the desired plugins are set to "on" in the .xml file (save if you make any changes)
  • run "CalVR"

Leaving the NexCAVE

  • turn off all the screens
  • log out
  • close both doors

Troubleshooting

  • if a node hangs on a black screen after exiting CalVR, run tentakel killall -9 CalVR
  • if a specific node dies, run ssh nexcave-X-X (numbers from the map on the wall) reboot
  • if a node still dies, find Philip/Andrew/Joe/Jurgen to hard reboot the server in the server room
  • When you start CalVR, if it starts asking for passwords, just keep hitting return until it dies. You should see a "Gnome Keyring has crashed" notification. Wait a minute, then start CalVR again.

Joystick

  • If the joystick does not work, first make sure it is plugged in.
  • If the joystick still does not work, run the following commands:
 cd /home/neuro/CalVR/applications/vrpn_libusb_general
 /home/neuro/CalVR/bin/libusb_general_server vrpn.xml &
  • If it then complains about libusb couldn't open USB device /dev/bus/usb/XXX/XXX: Permission denied, run:
 sudo chmod a+rw /dev/bus/usb/XXX/XXX (or get someone with sudo privileges to run it for you)

then run:

 cd /home/neuro/CalVR/applications/vrpn_libusb_general
 /home/neuro/CalVR/bin/libusb_general_server vrpn.xml &

again.

  • It will say "Init good." when it has initialized correctly.

Developer notes

Be sure CalVR has been compiled recently, with the VRPN options in cmake enabled. On the nexcave, be sure to link against the extern_libs that are located in /opti/extern_libs/el6.

Also set CalVR to compile against the libusb version in /opti/extern_libs/el6. If it compiles against another version, it will segfault in libusb's call to get_device_list.

Installing/Updating libcollider

  • Get the code by running
 git clone https://github.com/libCollider/libcollider.git libcollider
  • Compile:
 cd libcollider
 make
 sudo make install
  • However this will only install it locally in /usr/lib and /usr/include, not on all the cluster nodes. To install it to the extern_libs, edit the Makefile to change
 INSTALL_LIB_DIR to /opti/extern_libs/el6/lib/
 INSTALL_INCLUDE_DIR to /opti/extern_libs/el6/include/

then run:

 make install
  • Make sure the plugins link to the newly installed version by changing the COLLIDER_DIR variables in cmake.

Projects