Using Oculus Rift
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
|
Help
]
Start:
[[Tutorial]]
#contents
The aim of this tutorial is to show how virtual reality c...
System Requirements:
- Oculus Rift Sensor
- SIGViewer later than 2.3.0
-- You can use Oculus DK2 From v2.3.2
- Oculus SDK (and Runtime) for Windows (please download i...
-- We had used version 0.4.3 in this development.
- HDMI port in your PC.
- Visual C++ Express 2010
NOTE: There are two development kits available DK1 and D...
------
If you have any questions after reading this page: Please...
sigverse-users@googlegroups.com
-------
*Introduction [#x48b2622]
This tutorial describes how to use the sensor implemented...
Rift in SIGVerse. It consists of two modules: a SIGServi...
which can receive signals from Oculus Rift and an agent c...
get messages from SIGViewer.
|#ref(front.jpg,,20%); |#ref(back.jpg,,20%) ;|#ref(develo...
Figure1: The Oculus Rift Sensor. From L-R (a)Front View, ...
Please make the suitable cable connections with your PC (...
** Building SIGService module for OculusRiftSensor on Win...
The steps are explained as follows:
1. First of all, you will need to setup SIGService_v2-2-...
Also, to build the required SIG file for sending the sign...
2. On Windows, obtain the code for SIGService model by cl...
$ git clone https://github.com/SIGVerse/Client.git
$ cd Plugin/OculusRiftSensor/ViewerService
3. Open the project's property pages -> C/C++ -> General ...
4. Open the project's property pages -> Linker -> General...
5. Click Build -> Build Solution to build the SIG file.
** Creating the workspace on Linux [#y0bc31db]
Please create a directory and place the Controller code, ...
$ sigcreate.sh OculusRift
** Controller for entity [#k3be7ece]
The controller code for obtaining the data from SIGServic...
To remind the reader, a controller is one of the main pro...
Let's see the controller sample.
$ cd OculusRift
$ emacs OculusRiftCtrl.cpp
#gist(raghavendrajain/af0d69887e3a2accc719);
The agent controller creates a class named "RobotControll...
In this case, onAction function is called every 1.0 secon...
But, as you can see, this controller does nothing.
** Compiling the controller [#q60191ea]
A shell script for the compilation has been automatically...
$ ./sigmake.sh OculusRiftCtrl.cpp
If the compilation succeeded, you can see OculusRiftCtrl....
** World file [#x8e5ecc7]
World file describes the configuration of the virtual wor...
The following world file is already prepared in your work...
$ emacs OculusRiftCtrl.xml
OculusRiftCtrl.xml
#gist(raghavendrajain/2ce83f08a19001c87c28)
The world file reads the file Man-nii.xml as an agent. Th...
** Starting the simulation [#zafcd00a]
The script sigserver.sh is used to run the simulation and...
Type the following command in your working directory.
$ sigserver.sh -w ./OculusRiftCtrl.xml
:
:
[SYS] waiting for connection...
[SYS] Controller attached to "kinect_man"
[SYS] 0.0.0.0 connected
[SYS] kinect_man : dataport
[SYS] 127.0.0.1 connected
Please specify a world file with -w option.
Start the SIGViewer and enter the host name and port numb...
|#ref(main.png,,40%); |#ref(entry.png,,40%) ;|#ref(human....
Figure2: From L-R (a)SIGViewer 2.3.0 (b) After login insi...
*** Registration of user interface plug-in [#i3bdc209]
Click the [Service]-->[Add] menu on the top-left of the S...
#ref(SIGNi_1.PNG)
You then can see the following window.
Click the Add button to registrate OculusRift.sig
#ref(./SIGNi_2.PNG,80%)
After the registration of OculusRift.sig to the Service l...
Next, click the [Service]-->[Start] menu; then select the...
After adding and starting the SIGService for OculusRift, ...
Now, according to the orientation of sensor, you can noti...
|#ref(IMG_1687.JPG,,35%); |#ref(IMG_1681.JPG,,40%)|
To see the view from avatar's eyes:
-- please click the || || of the small rectangular view w...
-- please wear the OculusRift and get agent's view.
End:
[[Tutorial]]
#contents
The aim of this tutorial is to show how virtual reality c...
System Requirements:
- Oculus Rift Sensor
- SIGViewer later than 2.3.0
-- You can use Oculus DK2 From v2.3.2
- Oculus SDK (and Runtime) for Windows (please download i...
-- We had used version 0.4.3 in this development.
- HDMI port in your PC.
- Visual C++ Express 2010
NOTE: There are two development kits available DK1 and D...
------
If you have any questions after reading this page: Please...
sigverse-users@googlegroups.com
-------
*Introduction [#x48b2622]
This tutorial describes how to use the sensor implemented...
Rift in SIGVerse. It consists of two modules: a SIGServi...
which can receive signals from Oculus Rift and an agent c...
get messages from SIGViewer.
|#ref(front.jpg,,20%); |#ref(back.jpg,,20%) ;|#ref(develo...
Figure1: The Oculus Rift Sensor. From L-R (a)Front View, ...
Please make the suitable cable connections with your PC (...
** Building SIGService module for OculusRiftSensor on Win...
The steps are explained as follows:
1. First of all, you will need to setup SIGService_v2-2-...
Also, to build the required SIG file for sending the sign...
2. On Windows, obtain the code for SIGService model by cl...
$ git clone https://github.com/SIGVerse/Client.git
$ cd Plugin/OculusRiftSensor/ViewerService
3. Open the project's property pages -> C/C++ -> General ...
4. Open the project's property pages -> Linker -> General...
5. Click Build -> Build Solution to build the SIG file.
** Creating the workspace on Linux [#y0bc31db]
Please create a directory and place the Controller code, ...
$ sigcreate.sh OculusRift
** Controller for entity [#k3be7ece]
The controller code for obtaining the data from SIGServic...
To remind the reader, a controller is one of the main pro...
Let's see the controller sample.
$ cd OculusRift
$ emacs OculusRiftCtrl.cpp
#gist(raghavendrajain/af0d69887e3a2accc719);
The agent controller creates a class named "RobotControll...
In this case, onAction function is called every 1.0 secon...
But, as you can see, this controller does nothing.
** Compiling the controller [#q60191ea]
A shell script for the compilation has been automatically...
$ ./sigmake.sh OculusRiftCtrl.cpp
If the compilation succeeded, you can see OculusRiftCtrl....
** World file [#x8e5ecc7]
World file describes the configuration of the virtual wor...
The following world file is already prepared in your work...
$ emacs OculusRiftCtrl.xml
OculusRiftCtrl.xml
#gist(raghavendrajain/2ce83f08a19001c87c28)
The world file reads the file Man-nii.xml as an agent. Th...
** Starting the simulation [#zafcd00a]
The script sigserver.sh is used to run the simulation and...
Type the following command in your working directory.
$ sigserver.sh -w ./OculusRiftCtrl.xml
:
:
[SYS] waiting for connection...
[SYS] Controller attached to "kinect_man"
[SYS] 0.0.0.0 connected
[SYS] kinect_man : dataport
[SYS] 127.0.0.1 connected
Please specify a world file with -w option.
Start the SIGViewer and enter the host name and port numb...
|#ref(main.png,,40%); |#ref(entry.png,,40%) ;|#ref(human....
Figure2: From L-R (a)SIGViewer 2.3.0 (b) After login insi...
*** Registration of user interface plug-in [#i3bdc209]
Click the [Service]-->[Add] menu on the top-left of the S...
#ref(SIGNi_1.PNG)
You then can see the following window.
Click the Add button to registrate OculusRift.sig
#ref(./SIGNi_2.PNG,80%)
After the registration of OculusRift.sig to the Service l...
Next, click the [Service]-->[Start] menu; then select the...
After adding and starting the SIGService for OculusRift, ...
Now, according to the orientation of sensor, you can noti...
|#ref(IMG_1687.JPG,,35%); |#ref(IMG_1681.JPG,,40%)|
To see the view from avatar's eyes:
-- please click the || || of the small rectangular view w...
-- please wear the OculusRift and get agent's view.
Page: