Applied Autonomous Robots I

Overview

This section contains all the relevant information for installing and running USARSim.

Useful Links

USARSim

Official SourceForge Website
SourceForge Download Site
Note: Make sure you select usarsim-2004 version 3.37. You can find the manual under Documentation.

Unreal Tournament 2004

Official Site
Wiki Site
Unreal Engine

Installation Instructions

Before you begin, you may want to consult the USARSim Manual.

The installations here are specifically for Windows XP/Vista. If you are on Mac OS or Linux, please consult the USARSim Manual, available here, for installing items 1-3 listed below. Once you have done this, move onto Step 2 below.

Windows

Required Files

  1. Unreal Tournamnet 2004, buy from Amazon or Steam
  2. UT2004-WinPatch3369.exe
  3. USARSim v3.37
  4. MEM380 USARSim files available here

Step 1: Install items 1-3 in the EXACT order listed. Remember that items 2 and 3 MUST be installed into the Unreal Tournament 2004 folder. This folder can be either "C:\Program Files\Unreal Tournament 2004", "C:\Program Files\steam\steamapps\unreal tournament 2004", or whatever the directory you installed UT2004 in.

Step 2: Download item 4 and unzip them into a temporary folder. Copy the various files in the different folders into the corresponding folders located in your UT2004 folder, i.e., "C:\Program Files\Unreal Tournament 2004" or "C:\Program Files\steam\steam apps\unreal tournament 2004". Select "Yes" when prompted whether you want to replace the existing file. If the folder does NOT exist, create the folder and copy the relevant files into the newly created folders.

Step 3: Compile USARSim. To do this, go into your UT2004 folder and look for the "make.bat" file located in the "USARBot\Classes" folder. Double click on this and you should see the command prompt show up. Wait until the command prompt stops scrolling. At this point you should get a message telling you whether you have been able to successfully compile USARSim.

Interfacing with USARSim via MATLAB

To be able to run simulations in USARSim in MATLAB, you will have to download the MATLAB USARSim Toolbox available at MATLAB USARSim Toolbox. Download the file and unzip the contents into any folder on your local drive. You should see a list of *.m files and a folder named "USARSimJava". Inside USARSimJava you should see a list of *.class files and a single *.java file. Documentation for the toolbox is located here.