5.1 Installation(Source)

Follow these instruction to install everything from scratch locally, this includes the following components:

  • Simspark
    • rcssserver3d
    • rcssmonitor3d
    • rcssagent3d
  • RoboViz
  • UTAustinvillaCodeBaseAgent

Before you can start with the installation you need to download SimSpark.zip and RoboViz-dev.zip which can be found on the RoboCup moodle page.

5.1.1 SIMSPARK INSTALLATION AND SETUP

  1. Extract SimSpark.zip
  2. Run the following commands
  sudo apt-get update
  sudo apt-get install build-essential
  1. Open the terminal inside the newly created rcss directory
  2. Use the following command to build SimSpark packages as well as dependencies
  sudo apt-get install g++ subversion cmake libfreetype6-dev libode-dev libsdl-dev ruby ruby-dev libdevil-dev libboost-dev libboost-thread-dev libboost-regex-dev libboost-system-dev qt4-default
  1. When prompted with After this operation, 368 MB of additional disk space will be used. Do you want to continue? [Y/N]
    - Press Y
  1. Execute the following commands in the rcss directory after install is complete
  cd/SimSpark
  ./clean.sh
  ./build.sh
  1. The following command will run the server and the default monitor(visualizer)
  rcsoccersim3d
  1. To run just the server use the following command
  rcssserver3d

At this point you will have the game server running and would have completed and tested the SimSpark installation, what remains is a more advanced visualiser as well as actual agent

5.1.2 ROBOVIZ VISUALIZER INSTALL AND USE

  1. Extract RoboViz-dev.zip
  2. Open the terminal in the RoboViz-dev directory
  3. Roboviz requires java 8, To install java 8 run the following command
  sudo apt isntall openjdk-8-jdk
  1. To build RoboViz open terminal in the RoboViz-dev/scripts folder and run the following command
  ./build-linux64.sh
  1. To run roboviz open terminal in RoboViz-dev/bin/linux-amd64 folder
  ./roboviz.sh

Additionally you can use the follwoing command to run roboviz with the server on the localhost

  ./roboviz.sh --serverHost=localhost

Lastly if the server is on another machine simple define its ip inplace of localhost

5.1.3 TO RUN THE TEAMS

  1. Extract the corresponding team to a new folder
  2. open the terminal in that folder
  3. cd/competition (You are looking for the start.sh file)
  4. If you were to run ./start.sh you would get permission denied
  5. Run the following commands to fix this issue
  chmod 777 startCommon.sh 
  chmod 777 start.sh
  1. Now you can run ./start.sh

5.1.4 TO USE IT ALL

  1. Make sure the server is running found in the SimSpark directory
  rcssserver3d
  1. Run the visualizer found in RoboViz-dev/bin/linux-amd64
  ./roboviz.sh
  1. Run the agent found in competition
  ./start.sh