No! There is a “Setup“(In case the simulator is already open you can just press the play button/start simulation button from CopelliaSim top menu bar and play button of the game manager) section in the setup and run tutorial based on your operating system. You should use that section and follow only those steps.
It should be mentioned that only C/C++ clients need the compilation step before each run in case you made some changes in your code.
After the installation is done you will have a “simplus_vrep” directory which is a root directory of this platform. There is a “Client” directory in this directory which contains 3 folders(CPP/C, Python, and Scratch). Your client code should be written in the “player(.py/.cc/_win.cc)” file format based on your preferred programming language(Python, C/C++, scratch).
Please take a look at our APIs before start coding!
It should be mentioned that you are free to write your code in any given file name wherever you want in your system and you can upload your code using the simplus panel and by choosing your programming language.
You can use any editor/IDE you want such as
- Visual studio
- Code block
- and …
Messages are requests and responses that make the server and the client communicate with each other. The server code and communication messages are already written and provided to you by simplus platform. You will change the client code based on the provided samples and API instructions.
The server and client code are could be run in one or multiple computers. When you are testing your code in your computer using the provided run commands, your computer will be both server and client.
You don’t need to change the communication messages or writing extra code to communicate with the server. The Simplus platform done all this works for you by providing the following APIs. So don’t worry if you don’t understand the server/client approach or the communication messages and just skip them and start to use one of the following APIs.
No, in case the simulator is already open you can just press the play button/start simulation button from CopelliaSim top menu bar and play button of the game manager instead of the “Run simulation” button of simplus panel.
It should be mentioned that you still need to do the instruction of the “run” step to run your code.