rescue junior simplus

Select Sidearea

Robocup Junior Rescue Simulation Platform

Setup and Run – Windows

Setup and Run – Windows

Setup and Run – Windows

 Demo

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:

Windows


Installation

For installing Python download the suitable executable file from below:

install Python Win

Installation

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.

Troubleshooting:
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.

Setup

Go to the simplus_vrep/simplus_win directory and double click on “simplus.bat”.

You should see the Simplus panel then:

Upload code

First, choose your programming language and then choose your file from where ever it is on your computer and then press upload

Compile

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.

Clear

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!

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:

  1. Go to https://scratchx.org/?url=https://Robocup-simplus.github.io/simplus.js#scratch (wait till the extension loads)
  2. Simplus blocks are located in the “More Blocks” tab and you can drag and drop them to the right scene
  3. In order to use the sample project, from the top menu click on File then load project and select the simplus_scratch.sbx file from simplus_vrep/client/scratch

Scratch sample code

Troubleshoot

In case you had any problems with the above information, visit the “Troubleshoot Setup and Run – Windows

Share this story:

Write a comment