First I learned Coppeliasim, I understanded as regular api=Lua and remote
api=other languages
but in user manual, lua is also in remote api
so I'd like to ask, what's the difference btw remote api and regular api??
may you describe me clearly??
regular api vs remote api
Re: regular api vs remote api
Regular API can be used in:
Remote API can be used by external processes and applications (many languages are supported, including Lua = an external Lua interpreter, not the one built into the application).
- embedded scripts (Lua), which include:
- child scripts (scripts attached to scene objects)
- customization scripts (similar to above, but can run also when simulation is not running)
- add-ons (scripts loaded by the application, independent of which scene is loaded)
- plugins (C/C++)
Remote API can be used by external processes and applications (many languages are supported, including Lua = an external Lua interpreter, not the one built into the application).
Re: regular api vs remote api
thanks so much ! I finally understand now.
Re: regular api vs remote api
fferri wrote: ↑06 Aug 2021, 10:13 Regular API can be used in:
in both cases code runs in the same process as the CoppeliaSim application.
- embedded scripts (Lua), which include:
- child scripts (scripts attached to scene objects)
- customization scripts (similar to above, but can run also when simulation is not running)
- add-ons (scripts loaded by the application, independent of which scene is loaded)
- plugins (C/C++)
Remote API can be used by external processes and applications (many languages are supported, including Lua = an external Lua interpreter, not the one built into the application).
thanks!!! I finally understand now