5.3 Installation(Labs)
To run robocup on the machine you’re on, type the following command in a Ubuntu terminal:
~/run_robocup.sh
If that doesn’t work, robocup is not set up on your machine. To set up robocup on the machine you’re on, type the following command in a Ubuntu terminal:
wget https://lamp.ms.wits.ac.za/robocup/setupmsl;sh ./setupmsl
This should open a terminal which is running in the singularity. In the singularity terminal, you can do the following:
- Type
rcssserver3d
to run the robocup server - Then press
Ctrl-Shift-T
to open a new singularity terminal - Then type
/roboviz/roboviz.sh
to run the visualizer - Then press
Ctrl-Shift-T to
open another new singularity terminal - Now, unzip the wits robocup agent by opening the
robocup
folder in the file explorer and extractingWITS-BOTS.zip
Then, to run the Wits Bots, go to the WIts Bots folder and compile/run the agent by typing the following instructions into your unused singularity terminal
- Type
cd WITS-BOTS
- Type
cmake .
(important don’t forget the dot after cmake) - Type
make
- To start the Wits bots type
./start.sh
- To edit the code, open another tab in the singularity terminal, navigate to where the code is, and type
code .
After you have edited your code you need to recompile your code, however, you only need to type make
this time.
Now that you have finished the installation have a look at the Tutorials which can help you get started with coding.