4.2 Running
Inside a normal Ubuntu terminal type : ~/roboviz.sh to run the visualizer
Once done press
Ctrl-Shift-Tto open another new Ubuntu terminal and type~/run_robocup.shto start a singularity terminal (singularity terminal 1)Next we need to make sure we are in the codebase directory, if not then use the
cdcommand to navigate there, inside singularity terminal 1, this could be done usingcd wits-robocupOnce there press
Ctrl-Shift-Tto open another new singularity terminal (singularity terminal 2)Inside singularity terminal 2 type
cdto move into theproxy_fatfolder and run./start.sh localhost 3100 3110to start the proxyNow back inside singularity terminal 1 type
~/code.sh .which will run VSCODEInside the project hierarchy open a file called
strategy.ccwhich can be found inside thebehaviorsfolderIf asked to install any C/C++ extensions, press yes
Next press
Ctrl-Shift-Pwhich opens up a dialog box in the top middle. Inside this box typeCMAKE.From the drop down list select
CMAKE: ConfigureWhen asked to select a Kit for wits-robocup choose the option which specifies a
GCCversionNow you can press the play button (triangle in the top right) and select
DebugorRunThen when asked select the
AgentSparkoption (anyone will do)
— BONUS —
./fat_individual.sh which will compile your code, run the server, and load the agents. Do note that after the code finishes compiling it asks you to press enter. NOTE YOU NEED TO HAVE TYPED cmake . once beforehand
- If you want to add an opponent to compete against you will need a fourth terminal, inside which you need to type
./fat_competitors