Search found 10 matches

by darn
06 May 2020, 15:34
Forum: General questions
Topic: Error opening CoppeliaSim on Ubuntu 20.04 LTS
Replies: 4
Views: 1462

Error opening CoppeliaSim on Ubuntu 20.04 LTS

Hello, I get the following error when I open CoppeliaSim: CoppeliaSim Edu V4.0.0. (rev. 4) Using the default Lua library. Could not find or correctly load the video compression library. Try following: >sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev if above fails, try first: >sud...
by darn
02 May 2020, 19:19
Forum: General questions
Topic: Error B0 remote API call in a thread
Replies: 4
Views: 805

Re: Error B0 remote API call in a thread

This code solved the problem: initialised = False def init(): global initialised if initialised: return argc = ct.c_int(1) argc_p = ct.byref(argc) argv = ct.c_char_p(b'b0python') argv_p =ct.byref(argv) initialised = True b0_init(argc_p, argv_p) I added the initialised variable and the return. That w...
by darn
02 May 2020, 17:49
Forum: General questions
Topic: Error B0 remote API call in a thread
Replies: 4
Views: 805

Re: Error B0 remote API call in a thread

Thanks for the prompt answer.
I tried creating a new client in the thread but I get a different error: "Initialization failed: already initialized"
by darn
02 May 2020, 11:11
Forum: General questions
Topic: Error B0 remote API call in a thread
Replies: 4
Views: 805

Error B0 remote API call in a thread

Hello everyone: I am getting an error when performing the following B0 remote API call in a thread: p = simxGetObjectPosition(obj, reference, self.client.simxServiceCall()) The error is the following: terminate called after throwing an instance of 'zmq::error_t' what(): Operation cannot be accomplis...
by darn
29 Apr 2020, 16:44
Forum: General questions
Topic: Error using b0Remote Api mac OS
Replies: 4
Views: 1048

Re: Error using b0Remote Api mac OS

Now it works. Thank you very much for your help!
by darn
25 Apr 2020, 17:23
Forum: General questions
Topic: Error using b0Remote Api mac OS
Replies: 4
Views: 1048

Re: Error using b0Remote Api mac OS

Hello, Thank you very much for your answer. I tried that before and I was still getting the error. However, I changed just line 866, now I have tried to change also line 865 and now it works. It works but after a while python still crash. Any idea of why this is happening? Sorry for the inconvenienc...
by darn
24 Apr 2020, 16:02
Forum: General questions
Topic: Error using b0Remote Api mac OS
Replies: 4
Views: 1048

Error using b0Remote Api mac OS

Hello everyone, I am finding an error while running the following simple code: import os import b0RemoteApi client = b0RemoteApi.RemoteApiClient('b0RemoteApi_pythonClient', 'b0RemoteApiAddOn') client.simxStopSimulation(client.simxServiceCall()) client.simxCloseScene(client.simxServiceCall()) model_p...
by darn
17 Apr 2020, 10:29
Forum: General questions
Topic: Error in macOS Catalina
Replies: 5
Views: 1036

Re: Error in macOS Catalina

That solved the problem. Thank you very much for your help. Just want to point out another problem I had. In macOS Catalina you have to disable the System Integrity Protection or it won't let you set the global variables DYLD_LIBRARY_PATH and LD_LIBRARY_PATH. Here you have a link that explain the pr...
by darn
14 Apr 2020, 17:25
Forum: General questions
Topic: Error in macOS Catalina
Replies: 5
Views: 1036

Re: Error in macOS Catalina

Hello,

Thank you very much for your answer.
I have tried to run the script from that folder and I get the same error.
Do you need me to provide any other information?

Thank you in advance.
by darn
13 Apr 2020, 11:35
Forum: General questions
Topic: Error in macOS Catalina
Replies: 5
Views: 1036

Error in macOS Catalina

Hello everyone, I am trying to run CoppeliaSim with a script from Python using the b0RemoteApiServer. I run the add-on on the simulator and I follow all the steps in the forums but I keep getting this error: File "/Users/dani/devel/coppeliasim_api_tests/coppeliasimapi.py", line 3, in <module> import...