Difference between revisions of "User:Srunyon"
From Immersive Visualization Lab Wiki
(→Starting Joystick) |
(→Starting OpenAL Audio Server for NexCave) |
||
(23 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | ==Cave Availability== | ||
+ | Check the tour/demo schedule [http://reservations.calit2.net/BrowseForSpace.aspx here] | ||
Line 4: | Line 6: | ||
* Joystick is plugged into USB port. | * Joystick is plugged into USB port. | ||
* Open Terminal window. Note: CalVR and VRPN for joystick tracking will be run in separate terminal windows. | * Open Terminal window. Note: CalVR and VRPN for joystick tracking will be run in separate terminal windows. | ||
− | * Navigate to directory containing Joystick tracking executable. | + | * Navigate to directory containing Joystick tracking executable. <br> <code> cd /home/neuro/CalVR/bin </code> |
− | + | ||
* The "vrpn.xml" configuration file should already be in this directory, but if not, the most up to date file location is: "/home/neuro/CalVR/applications/vrpn_libusb_general/vrpn.xml" | * The "vrpn.xml" configuration file should already be in this directory, but if not, the most up to date file location is: "/home/neuro/CalVR/applications/vrpn_libusb_general/vrpn.xml" | ||
− | * Type the following command into the terminal | + | * Type the following command into the terminal <br><code> ./libusb_general_server </code> |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | === | + | * There are a few possible ways that this command may not run properly. |
+ | ** If the output from the terminal indicates that the "vrpn.xml" configuration file was not found, use the following command: <br><code> ./libusb_general_server XXX </code><br>Where "XXX" is the absolute path to the "vrpn.xml" configuration file. | ||
+ | ** If the terminal output indicates that: <br><code>libusb couldn't open USB device /dev/bus/usb/XXX/XXX</code><br> There are two solutions: | ||
+ | *** Run the previous command again as a <code>sudo</code> command.<br><code> sudo ./libusb_general_server </code> | ||
+ | *** Modify permissions of the USB joystick. <code> sudo chmod a+rw /dev/bus/usb/XXX/XXX </code> and run the previous command again. | ||
+ | *** Note: Both solutions require sudo privileges. If you do not have sudo privileges, have a user that does and run the second command to modify the permissions of the USB device. | ||
+ | |||
+ | |||
+ | ==Starting OpenAL Audio Server for NexCave== | ||
+ | * VNC into Server (IP: 137.110.116.10) | ||
+ | * Start Jack Router. | ||
+ | ** Launch the Jack Pilot app. | ||
+ | ** Click start. | ||
+ | * Launch OAS. | ||
+ | ** Open a terminal. | ||
+ | ** Type: <code> cd OAS/Open-Audio-Server/server/build/bin </code><br> Then: <code> ./OAS oas_config.xml </code> | ||
+ | |||
+ | |||
+ | * Note: If VNC does not work, access the server from its physical location in the server room (1608 B). | ||
+ | |||
+ | ==Troubleshooting== | ||
* To confirm that the Joystick is plugged in to the head node, open a terminal and type in the command | * To confirm that the Joystick is plugged in to the head node, open a terminal and type in the command | ||
lsusb | lsusb | ||
Line 24: | Line 40: | ||
among the listed USB devices. | among the listed USB devices. | ||
− | + | * If a node hangs on a black screen after exiting CalVR, run <code> tentakel killall -9 CalVR </code> in the terminal window. | |
− | + | ||
==Projects== | ==Projects== | ||
* [[WaterMaze]] | * [[WaterMaze]] |
Latest revision as of 11:35, 3 December 2013
Contents |
Cave Availability
Check the tour/demo schedule here
Starting Joystick
- Joystick is plugged into USB port.
- Open Terminal window. Note: CalVR and VRPN for joystick tracking will be run in separate terminal windows.
- Navigate to directory containing Joystick tracking executable.
cd /home/neuro/CalVR/bin
- The "vrpn.xml" configuration file should already be in this directory, but if not, the most up to date file location is: "/home/neuro/CalVR/applications/vrpn_libusb_general/vrpn.xml"
- Type the following command into the terminal
./libusb_general_server
- There are a few possible ways that this command may not run properly.
- If the output from the terminal indicates that the "vrpn.xml" configuration file was not found, use the following command:
./libusb_general_server XXX
Where "XXX" is the absolute path to the "vrpn.xml" configuration file. - If the terminal output indicates that:
libusb couldn't open USB device /dev/bus/usb/XXX/XXX
There are two solutions:- Run the previous command again as a
sudo
command.sudo ./libusb_general_server
- Modify permissions of the USB joystick.
sudo chmod a+rw /dev/bus/usb/XXX/XXX
and run the previous command again. - Note: Both solutions require sudo privileges. If you do not have sudo privileges, have a user that does and run the second command to modify the permissions of the USB device.
- Run the previous command again as a
- If the output from the terminal indicates that the "vrpn.xml" configuration file was not found, use the following command:
Starting OpenAL Audio Server for NexCave
- VNC into Server (IP: 137.110.116.10)
- Start Jack Router.
- Launch the Jack Pilot app.
- Click start.
- Launch OAS.
- Open a terminal.
- Type:
cd OAS/Open-Audio-Server/server/build/bin
Then:./OAS oas_config.xml
- Note: If VNC does not work, access the server from its physical location in the server room (1608 B).
Troubleshooting
- To confirm that the Joystick is plugged in to the head node, open a terminal and type in the command
lsusb
and hit enter.
You should see
Logitech, Inc. ATK3 (Attack III Joystick)
among the listed USB devices.
- If a node hangs on a black screen after exiting CalVR, run
tentakel killall -9 CalVR
in the terminal window.