Setup and Run – Windows
In order to have a better understanding of how the installation and running are performed, we have provided a demo. Please have a look at the following video:
For installing Python download the suitable executable file from below:
x86download: newest python version for x86
x64download: newest python version for x64 Run the downloaded file. (make sure to check the highlited box below for adding python path)
Download the installer_4.zip. Extract it and run the “installer_4.bat” by double-clicking on it.
Using C/C++ programming language
Download and install the Cygwin C/C++ compiler.
If you have trouble installing C++ compiler with Cygwin you can watch this video tutorial on how to install it properly. Just pay attention to the Cygwin installation part which will start at “0:43” and end at “2:30”. The rest of the video is the manual “simplus” installation approach which you already did it.
Go to the
simplus_vrep/simplus_win directory and double click on “simplus.bat”.
You should see the Simplus panel then:
First, choose your programming language and then choose your file from where ever it is on your computer and then press upload
This is a necessary step if you are using the C/C++ programming language, although it will run your python client and print the errors in case your code is not working well.
Press this button every time you want to “Run” the competition again. It will make you sure that all the previous Runs are killed and everything is ready for a new Run!
First, press the “Run client” server and then after a few seconds press the “Run Server” button. Now you should see the robot move and do its task in the world.
DEBUG: In order to debug your code, instead of pressing the “Run client” button, “Double click” on “debug_python.bat” or “debug_cpp.bat” based on your programming language. These files are located in the “simplus_win” directory besides the “simplus.bat” file.
Run Scratch client
Press the “Run Server” button then follow the below steps:
- Go to https://scratchx.org/?url=https://Robocup-simplus.github.io/simplus.js#scratch (wait till the extension loads)
- Simplus blocks are located in the “More Blocks” tab and you can drag and drop them to the right scene
- In order to use the sample project, from the top menu click on
load projectand select the
In case you had any problems with the above information, visit the “Troubleshoot Setup and Run – Windows“