Protocols combining RoboCup Rescue Simulation and USARSim.

Ver. 1.0.3
System Architecture
| OS | Platform |
| RCRS | Linux | C++, Java |
| USARSim | Windows | Unreal Tournament 2004 |
| RC | Windows | Java |
RCRSandUSARSim.tar.gz contains following files,
- rescue-patch_for0.49.10.5
+- rescue_049-10_kernel.patch
+- rescue_049-10_librescue.patch
+- programs -- librescue -+- robotclient (for connecting to Robot Center)
|
+- thread (for Thread)
+- programs_agent (for agent programs)
+- boot -+- all_42.sh
+- sampleagent_42_for_usarsim.sh
+- usarsim42 -- usarsim_init.txt (A configuration file to connect to Robot Center)
- RobotCenter
-- USARSimCenter -+- src (source files (.java) )
+- bin (class files (.class) )
+- run -+- startcenter.bat (A execute file to start Robot Center)
+- usr.cfg (A configuration file to connect to USARSim)
Installation
Setup the system
Run the system
- RoboCup Rescue Simulation (RCRS)
- USARSim
- Robot Center
Install on Linux.
Refer Rescue Agents.
And, install patch files for this system.
- Extract RCRSandUSARSim.tar.gz.
- Copy the contents of the rescue-patch_for0.49.10.5 directory into your installed RCRS directory.
- Patch to original RCRS programs (for ver. 0.49.10.5) .
$ cd <RCRS directory>
$ patch -p2 < rescue_049-10_kernel.patch
$ patch -p2 < rescue_049-10_librescue.patch
|
- Compile programs.
$ cd programs/
programs$ make
|
Install on Windows.
Extract RCRSandUSARSim.tar.gz, and copy the RobotCenter directory into any directory on Windows.
- RoboCup Rescue Simulation (RCRS)
- Robot Center
Set a configuration file (boot/usarsim42/usarsim_init.txt) .
| Parameters | |
| 1st. | IP address of Robot Center |
| 2nd. | The port number of Robot Center |
| 3rd. | The time scale of USARSim |
Set a configuration file (RobotCenter/USARSimCenter/run/usar.cfg) .
| Parameters | |
| centerIP | IP address of Robot Center |
| centerPort | The port number of Robot Center |
| Robots | |
| ID: The id of robots |
| Name: The name of robots |
| Type: The type of robots |
| Buildings | |
| ID: The id of buildings |
| SimIP: IP address of Unreal Server |
| SimPort: The port number of Unreal Server |
| VideoIP: IP address of Image Server
*Image Server offers image data of Unreal Client. |
| VideoPort: The port number of Image Server |
| Position: The initial position of robots |
| Rotation: The initial rotation of robots |
| Debug_Level | Debug Level |
| Search_Time | The time for searching victims by robots on USARSim |
| sClassPath | Path to class files |
- USARSim
- Robot Center
- RoboCup Rescue Simulation (RCRS)
- Video Capture from USARSim (options) added ver. 1.0.3
Run USARSim.
- Run Unreal Server.
Execute ut2004\System\usar_s.bat
*Modify the file if necessary to select the name of maps.
- Run Unreal Client.
Execute ut2004\System\usar_c.bat
*Refer USARSim-manual_3.1.3.pdf pp.28-29 (pp.34-35) .
Run Robot Center.
Execute RobotCenter\USARSimCenter\run\startcenter.bat
Run RoboCup Rescue Simulation.
- Run the kernel, simulators, and the viewer.
$ cd <RCRS directory>/boot/
boot$ ./all_42.sh
|
- Run agent programs.
|
boot$ ./sampleagent_42_for_usarsim.sh
|
Run Video Capture
- Run VideoCaptre.jar (on Linux/Windows).
double-click or put commands as follows:
|
$ java -jar VideoCapture.jar
|
- Input IP address of Image Server in the text field.
- Put "START" button.
ver. 1.0.0 September 24, 2008. by Shigeru Yotsukura
ver. 1.0.3 June 3, 2009. by Shigeru Yotsukura