Tutorial for ver.2/Execution of test
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
|
Help
]
Start:
Up:[[Tutorial]]
----
#contents
This tutorial is valid only for SIGVerse later than v2.1.0.
This tutorial explains how to start up the SIGVerse serve...
* Test 1 [#mac35c2d]
** Execution of SIGVerse server [#ia8d165b]
Execute SIGVerse server on the server.
$ cd ~/sigverse-<version>/bin
You can execute the SIGVerse server, using shell script s...
//You should specify a port number with -p option to be u...
$ sigserver.sh
+ '[' -z ']'
+ LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk-amd64/jre/...
+ SIGVERSE_X3DPARSER_CONFIG=/home/hoge/sigverse- 2.1.0/s...
+ SIGVERSE_RUNAC=/hoge/okamoto/sigverse-2.1.0/bin/sigrunac
+ SIGVERSE_DATADIR=/home/okamoto/sigverse-2.1.0/share/si...
+ export LD_LIBRARY_PATH SIGVERSE_X3DPARSER_CONFIG SIGVE...
+ /home/hoge/sigverse-2.1.0/bin/sigserver
[SYS] ///////// ///////////////////////////////////////...
[SYS] ////////////// World number 0 (port 9000) //////...
[SYS] /////////////////////////////////////////////////...
[SYS] data directory :
[SYS] [1] /home/hoge/sigverse-2.1.0/share/sigvers...
[SYS] [2] /home/hoge/sigverse-2.1.0/share/sigvers...
[SYS] world file : MyWorld.xml
[SYS] building entity (entName=(Robot-nii), className=(...
read /home/hoge/sigverse-2.1.0/share/sigverse/etc/X3DPar...
*** JavaVMOption ***
options[0].optionString = (-Djava.class.path=/home/hoge/...
options[1].optionString = (-Djava.library.path=/tmp)
Java VM start ok
[SYS] waiting for connection...
The above messages indicate that the SIGVerse server has ...
If you did not specify a port number, the port number and...
In the above case, world number 0 and port number 9000 ar...
////////////////////////////////////////////
** Connecting the SIGViewer to the server [#y7f89e99]
Next, execute the SIGViewer to connect to the server. Dou...
*** Setting of a service name [#y1a99590]
Set a service name after the SIGViewer window opened.
Communication between the SIGVerse server are controlled ...
Especially, image capture function are embedded in the SI...
In this case, put service name "SIGViewer" as the default...
*** In a case not using SSH connection [#d2cca02a]
Input the hostname of SIGVerse server and the world numbe...
#ref(./connectServer1.PNG,60%)
If you cannot use general port number such as 9000 to con...
*** In a case that port forwarding is set by yourself [#f...
If you always use your favorite port forwarding applicati...
Input "localhost" in the hostname field; input the port n...
#ref(./connectServer2.PNG,60%)
*** In a case that port forwarding should be set by SIGVi...
If you don't have any port forwarding application. You ca...
Finish the configuration written in [[SSH connection by S...
Input the hostname of the SIGVerse server and the world (...
Next, input your account name and pass phrase of SSH conn...
#ref(./connectServer3.PNG,60%)
*** Connection [#tc808dc8]
You will see the following robot agent with clicking the ...
#ref(./connectServer4.PNG,50%)
// SIGViewerの視点や方向を変えるには画面上でCtrl(もしくは...
You can change the direction of eyesight, by pushing Ctrl...
If the connection succeeded, the following messages shoul...
[SYS] waiting for connection...
[SYS] SIGViewer is connected
[SYS] Service: "SIGViewer" is available
////////////////////////////////////////
** Stop of SIGVerse server [#q41da429]
To pause the simulation, click the STOP button on the rig...
To quit the simulation, click the "Quit Simulation" butto...
If you want to terminate the server process on the server...
Then, push Ctrl+C on the server's shell window. If the SI...
$ sigkill.sh
You can check running processes by the command:
$ ps aux | grep $(whoami)
Up:[[Tutorial]]
#counter
End:
Up:[[Tutorial]]
----
#contents
This tutorial is valid only for SIGVerse later than v2.1.0.
This tutorial explains how to start up the SIGVerse serve...
* Test 1 [#mac35c2d]
** Execution of SIGVerse server [#ia8d165b]
Execute SIGVerse server on the server.
$ cd ~/sigverse-<version>/bin
You can execute the SIGVerse server, using shell script s...
//You should specify a port number with -p option to be u...
$ sigserver.sh
+ '[' -z ']'
+ LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk-amd64/jre/...
+ SIGVERSE_X3DPARSER_CONFIG=/home/hoge/sigverse- 2.1.0/s...
+ SIGVERSE_RUNAC=/hoge/okamoto/sigverse-2.1.0/bin/sigrunac
+ SIGVERSE_DATADIR=/home/okamoto/sigverse-2.1.0/share/si...
+ export LD_LIBRARY_PATH SIGVERSE_X3DPARSER_CONFIG SIGVE...
+ /home/hoge/sigverse-2.1.0/bin/sigserver
[SYS] ///////// ///////////////////////////////////////...
[SYS] ////////////// World number 0 (port 9000) //////...
[SYS] /////////////////////////////////////////////////...
[SYS] data directory :
[SYS] [1] /home/hoge/sigverse-2.1.0/share/sigvers...
[SYS] [2] /home/hoge/sigverse-2.1.0/share/sigvers...
[SYS] world file : MyWorld.xml
[SYS] building entity (entName=(Robot-nii), className=(...
read /home/hoge/sigverse-2.1.0/share/sigverse/etc/X3DPar...
*** JavaVMOption ***
options[0].optionString = (-Djava.class.path=/home/hoge/...
options[1].optionString = (-Djava.library.path=/tmp)
Java VM start ok
[SYS] waiting for connection...
The above messages indicate that the SIGVerse server has ...
If you did not specify a port number, the port number and...
In the above case, world number 0 and port number 9000 ar...
////////////////////////////////////////////
** Connecting the SIGViewer to the server [#y7f89e99]
Next, execute the SIGViewer to connect to the server. Dou...
*** Setting of a service name [#y1a99590]
Set a service name after the SIGViewer window opened.
Communication between the SIGVerse server are controlled ...
Especially, image capture function are embedded in the SI...
In this case, put service name "SIGViewer" as the default...
*** In a case not using SSH connection [#d2cca02a]
Input the hostname of SIGVerse server and the world numbe...
#ref(./connectServer1.PNG,60%)
If you cannot use general port number such as 9000 to con...
*** In a case that port forwarding is set by yourself [#f...
If you always use your favorite port forwarding applicati...
Input "localhost" in the hostname field; input the port n...
#ref(./connectServer2.PNG,60%)
*** In a case that port forwarding should be set by SIGVi...
If you don't have any port forwarding application. You ca...
Finish the configuration written in [[SSH connection by S...
Input the hostname of the SIGVerse server and the world (...
Next, input your account name and pass phrase of SSH conn...
#ref(./connectServer3.PNG,60%)
*** Connection [#tc808dc8]
You will see the following robot agent with clicking the ...
#ref(./connectServer4.PNG,50%)
// SIGViewerの視点や方向を変えるには画面上でCtrl(もしくは...
You can change the direction of eyesight, by pushing Ctrl...
If the connection succeeded, the following messages shoul...
[SYS] waiting for connection...
[SYS] SIGViewer is connected
[SYS] Service: "SIGViewer" is available
////////////////////////////////////////
** Stop of SIGVerse server [#q41da429]
To pause the simulation, click the STOP button on the rig...
To quit the simulation, click the "Quit Simulation" butto...
If you want to terminate the server process on the server...
Then, push Ctrl+C on the server's shell window. If the SI...
$ sigkill.sh
You can check running processes by the command:
$ ps aux | grep $(whoami)
Up:[[Tutorial]]
#counter
Page: