Running healess python client

Typically: "How do I... ", "How can I... " questions
Post Reply
gregor_ws
Posts: 11
Joined: 21 Nov 2023, 16:41

Running healess python client

Post by gregor_ws »

Hi. I would like to run CoppeliaSim's python client in headless mode. Everything works fine with the GUI mode, using the libcoppeliaSim.so library, however I run into the following message when trying to use the libcoppeliaSimHeadless.so library:

Code: Select all



**************************************************
* Please run the GUI version of CoppeliaSim Edu, *
* until requested to register your EDU version.  *
* Once registered, you'll be able to run the     *
* headless version.                              *
* CoppeliaSim will now shut down.                *
**************************************************



> [CoppeliaSim:loadinfo]   CoppeliaSim ended.
What is the process to register my Edu version?

Thanks in advance.

coppelia
Site Admin
Posts: 10649
Joined: 14 Dec 2012, 00:25

Re: Running healess python client

Post by coppelia »

Hello,

so your CoppeliaSim Edu was successfully registered and does not display the registration dialog (pops open after 15-20 minutes) when running in GUI mode, e.g. also via Python:

Code: Select all

python ./coppeliaSim.py
...but running one of following does not work?

Code: Select all

python ./coppeliaSim.py -h
python ./coppeliaSim.py -H

gregor_ws
Posts: 11
Joined: 21 Nov 2023, 16:41

Re: Running healess python client

Post by gregor_ws »

Hi,

Thanks for the reply. I was using CoppeliaSim with the Python client and the registration message didn't have the chance to appear. After using the main client for a while it does appear and I can successfully register.

coppelia
Site Admin
Posts: 10649
Joined: 14 Dec 2012, 00:25

Re: Running healess python client

Post by coppelia »

FYI, with CoppeliaSim V4.9 rev2 (or rev4), the headless mode will not require a registration anymore.

Cheers

Post Reply