Search found 8730 matches

by coppelia
27 Jul 2021, 19:52
Forum: General questions
Topic: Speed and stop on path
Replies: 9
Views: 2802

Re: Speed and stop on path

if you use CoppeliaSim 4.2+, then if you open the hierarchy of the path object, you'll find all the control points there, as dummy objects. Then you could use sim.getClosestPosOnPath to get the position along the path that is closest to a given coordinate.

Cheers
by coppelia
27 Jul 2021, 19:49
Forum: General questions
Topic: check the dialog diaplay
Replies: 2
Views: 376

Re: check the dialog diaplay

Hello, please use custom user interfaces : they are extremely powerful and flexible to use, and they are used for almost all custom UI across all demo scenes and models, and most add-ons also use them. Then, inspect the code of those models, scenes and add-ons to get an idea how to achieve wht you n...
by coppelia
27 Jul 2021, 19:46
Forum: General questions
Topic: change the dialog's size
Replies: 2
Views: 383

Re: change the dialog's size

Hello,

for instance:

Code: Select all

<label id="1" text="Hello world!" style="* {font-size: 20px; font-weight: bold; margin-left: 20px; margin-right: 20px;}"/
There are many more formattings you could apply.

Cheers
by coppelia
27 Jul 2021, 19:43
Forum: General questions
Topic: conveyor movement lag
Replies: 1
Views: 598

Re: conveyor movement lag

Hello, I am not sure what kind of problem you are experiencing. Keep in mind that everything runs based on a simulation time , not real-time. So experiences or felt speed will be different on a different machine. Maybe you can isolate your problem and post a minimalistic, self-contained scene that i...
by coppelia
27 Jul 2021, 19:38
Forum: General questions
Topic: configuration of the time in the case using remote API
Replies: 12
Views: 5020

Re: configuration of the time in the case using remote API

Additionally, you can enable old dialogs by setting showOldDlgs=true in system/usrset.txt

Cheers
by coppelia
27 Jul 2021, 19:36
Forum: General questions
Topic: remoteAPI.dll with ARM64
Replies: 2
Views: 1478

Re: remoteAPI.dll with ARM64

Hello,

if you are talking about the legacy remote API, then I believe you should be able to compile it on your platform and it should work fine. Please give it a try and let me know.

Cheers
by coppelia
23 Jul 2021, 19:06
Forum: General questions
Topic: Dynamic color change in distance calculation
Replies: 11
Views: 4917

Re: Dynamic color change in distance calculation

Try with sim.addDrawingObject(sim.drawing_triangles|sim.drawing_12percenttransparency,...) or something similar. You can't set the precise transparency value, just approximative. You can however combine all 3 sim.drawing_12percenttransparency , sim.drawing_25percenttransparency and sim.drawing_50per...
by coppelia
23 Jul 2021, 16:49
Forum: Bug reports
Topic: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04
Replies: 5
Views: 5299

Re: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

Oops, I didn't notice you were talking about the Pro version. Indeed, it was faulty under certain circomstances, and was replaced right now, please try to download the new version.

Cheers
by coppelia
23 Jul 2021, 09:07
Forum: General questions
Topic: time interval of data recording
Replies: 5
Views: 3768

Re: time interval of data recording

A threaded script will automatically yield, after about 2ms. So if you have a threaded script with an infinite loop, CoppeliaSim will not block. Try following: Infinite loop, not blocking (yielding after about 2ms by default): function sysCall_init() corout=coroutine.create(coroutineMain) end functi...
by coppelia
23 Jul 2021, 08:41
Forum: Bug reports
Topic: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04
Replies: 5
Views: 5299

Re: Crash on launch with CoppeliaSim 4.2.rev5 on Ubuntu 20.04

I can't explain that error. I tested it on a fresh install, but can't reproduce that...
Are you sure you don't have anything special or specific on your system? It really appears as a mismatch between libcoppeliaSimLib.so and coppeliaSim executable.

Cheers