Legacy remote APIThe legacy remote API, or remote API in short, is one of several ways an application can connect with CoppeliaSim. The remote API allows to control a simulation (or the simulator itself) from an external application or a remote hardware (e.g. real robot, remote computer, etc.). The CoppeliaSim remote API is composed by approximately one hundred specific functions and one generic function, that can be called from a C/C++ application, a Python script, a Java application or a Matlab/Octave program. The remote API functions are interacting with CoppeliaSim via socket communication (or, optionally, via shared memory). All this happens in a hidden fashion to the user. The remote API can let one or several external applications interact with CoppeliaSim in a stepped (i.e. synchronized with each simulation step) or non-stepped way (i.e. the normal operation mode), and even remote control of the simulator is supported (e.g. remotely loading a scene, starting, pausing or stopping a simulation for instance). Make sure you understand how the remote API is operating by reading this section. Also have a look at the external controller tutorial. The remote API functionality comes in 2 separate entities, that are interacting via socket communication: |