Search found 13 matches

by ask4jubad
05 Sep 2022, 10:45
Forum: General questions
Topic: Start simulation with given parameters from external script
Replies: 4
Views: 451

Re: Start simulation with given parameters from external script

Thanks for your feedback

Apparently using Signals worked. Using a customization script is still proving abortive, so, I'd stick to Signals for now.

Cheers.
by ask4jubad
01 Sep 2022, 14:50
Forum: General questions
Topic: Save Greyscale Image from Vision Sensor
Replies: 7
Views: 2711

Re: Save Greyscale Image from Vision Sensor

Hello Coppelia, When one uses sim.saveImage where does the image reside? I can seem to find it - perhaps it's not working for me. I don't get any error, so I am not sure if the saveImage works or not. From either the external script or within an actuation function in my simulator, I run this: local ...
by ask4jubad
31 Aug 2022, 20:00
Forum: General questions
Topic: Start simulation with given parameters from external script
Replies: 4
Views: 451

Re: Start simulation with given parameters from external script

Hi Coppelia, Thank you for your response. But it appears that your response does not really address my concern. For instance, customization script does not work since I only want to set simulation parameters (e.g. speed of a robot) at the the instant that I run sim.startSimulation() and not some sta...
by ask4jubad
25 Aug 2022, 12:40
Forum: General questions
Topic: Start simulation with given parameters from external script
Replies: 4
Views: 451

Start simulation with given parameters from external script

Please how do I set the simulation parameters from an external script (ZMQ api)? I have the following for instance from an external python script: sim.startSimulation() time.sleep(2) sim.callScriptFunction("setParameters@Bill", sim.scripttype_childscript, timestepprime, velprime) sim.callS...
by ask4jubad
14 Apr 2022, 09:37
Forum: General questions
Topic: setLightParameters doesn't work as in documentation
Replies: 4
Views: 475

Re: setLightParameters doesn't work as in documentation

Thanks it worked. I think updating the documentation a bit would save a lot of time. I see that it is currently written as: Python synopsis sim.setLightParameters(int objectHandle,int state,None,list diffusePart,list specularPart) The setToNULL parameter does not work with None (at least for me and ...
by ask4jubad
11 Apr 2022, 08:59
Forum: General questions
Topic: setLightParameters doesn't work as in documentation
Replies: 4
Views: 475

Re: setLightParameters doesn't work as in documentation

Thanks Coppelia.

Can you tell me about how to do the handling in python then please? I mean to be able to change the diffuse and specular components across the range and not just turn on/of the light.

Thanks
by ask4jubad
07 Apr 2022, 05:49
Forum: General questions
Topic: setLightParameters doesn't work as in documentation
Replies: 4
Views: 475

setLightParameters doesn't work as in documentation

I would like to change the diffuse and specular components of one of the default lights in my simulation using the following: sim.setLightParameters(lightHandleA, 1, None, [difA1, difA2, difA3], [0,0,0]) but it returns the following error: Exception: b"42: Incorrect table size. (in function 'si...
by ask4jubad
26 Nov 2021, 14:57
Forum: General questions
Topic: Errors with B0 and ZeroMQ add-ons and remote api clients.
Replies: 10
Views: 13163

Re: Errors with B0 and ZeroMQ add-ons and remote api clients.

Thanks for your support.

Well, I am already in the process of a reinstall of 20.04 because CoppeliaSim still doesn't work.

I will then try again and report accordingly.
by ask4jubad
25 Nov 2021, 14:58
Forum: General questions
Topic: Errors with B0 and ZeroMQ add-ons and remote api clients.
Replies: 10
Views: 13163

Re: Errors with B0 and ZeroMQ add-ons and remote api clients.

Not at all modified.

I am guessing now that it has to do with the OS.

I think that's the only serious change and unfortunately, you don't support that.
by ask4jubad
24 Nov 2021, 17:18
Forum: General questions
Topic: Errors with B0 and ZeroMQ add-ons and remote api clients.
Replies: 10
Views: 13163

Re: Errors with B0 and ZeroMQ add-ons and remote api clients.

I suspect the OS too. But as instructed, this is output on changing libErrorCheck. jubril@Jubril-Laptop:~/Downloads/CoppeliaSim$ ./libLoadErrorCheck.sh linux-vdso.so.1 (0x00007fff8e3eb000) libboost_regex.so.1.71.0 => /home/jubril/Downloads/CoppeliaSim/libboost_regex.so.1.71.0 (0x00007fd229f76000) li...