Search found 9 matches

by pab
27 Nov 2023, 19:08
Forum: Bug reports
Topic: Denavit Hartenberg (DH) extractor gives incomplete parameters
Replies: 1
Views: 11470

Denavit Hartenberg (DH) extractor gives incomplete parameters

I selected a UR5 model from the model library. Dragged drop it on the scene. Then I went to the last link "connection". Then I clicked Modules > Kinematics > Denavit Hartenberg parameters. I get the following Denavit-Hartenberg parameters: - between joint '/Joint{0}' and joint '/Joint{1}':...
by pab
30 Oct 2023, 04:51
Forum: General questions
Topic: How is sysCall_vision called in example scenes?
Replies: 2
Views: 993

Re: How is sysCall_vision called in example scenes?

I think I figured out the answer to my question. As long as the sysCall_vision is defined as a script on the vision sensor, it will be called. This gets me to the question of sharing data between 2 scripts. How can I share data between the script for the vision sensor and the script attached to anot...
by pab
30 Oct 2023, 04:30
Forum: General questions
Topic: How is sysCall_vision called in example scenes?
Replies: 2
Views: 993

How is sysCall_vision called in example scenes?

I was looking at one of the imageProcessingDemo1.ttt example in the scenes folder. I noticed there is a new default function called sysCall_vision(indata). It is clear that this function is running because it manipulates the image shown by the vision sensor I created a new scene. Created a non-threa...
by pab
09 Sep 2023, 01:35
Forum: General questions
Topic: Error in Importing PyTorch and NumPy libraries
Replies: 6
Views: 1492

Re: Error in Importing PyTorch and NumPy libraries

By bad, I had not tried the hack (while sim.getSystemTime()-st<10) correctly. I was doing it on the wrong line number. I tried it close to line 300 and it worked just fine. Issue is resolved; numpy works for me. Thanks.
by pab
03 Sep 2023, 06:40
Forum: General questions
Topic: Error in Importing PyTorch and NumPy libraries
Replies: 6
Views: 1492

Re: Error in Importing PyTorch and NumPy libraries

I have a similar problem. I can't get "import numpy" to work. I have something like this in my non-threaded script (in the beginning) #python import numpy as np The code runs fine if I comment out import numpy as np. However the moment I uncomment import numpy as np I get The Python interp...
by pab
27 May 2023, 04:38
Forum: General questions
Topic: Pop up on running python child script
Replies: 3
Views: 1266

Re: Pop up on running python child script

Many thanks for responding. I was able to fix it. After changing the flag to `executeUnsafe = true' in usrset.txt, I had to close CoppeliaSim and open it. Then it worked fine without the pop up. Curiously, I tried your command sim.getNamedBoolParam('settings.executeUnsafe') before and after changing...
by pab
26 May 2023, 14:29
Forum: General questions
Topic: Pop up on running python child script
Replies: 3
Views: 1266

Pop up on running python child script

I am using 4.5.1 on Mac 12.6 I have added a child script -> non threaded -> python. Everytime I make a change to the python code I am greeted with a pop-up with the message below. After clicking yes it runs fine but I don't want this to pop up everytime I make a change to the Python Script. This doe...
by pab
23 Jun 2022, 13:17
Forum: General questions
Topic: Set position/velocity control mode via code
Replies: 1
Views: 537

Set position/velocity control mode via code

I need to set position / velocity mode via Lua code (not via the GUI) because I want to be able to switch between these modes. 1) It seems like I need this parameter from joint reference "sim.jointfloatparam_dynctrlmode int32 parameter: the dynamic control mode of the joint" But it does no...
by pab
27 Jan 2022, 15:47
Forum: Bug reports
Topic: coppelia 4.3.0 mac download; broken link
Replies: 1
Views: 1448

coppelia 4.3.0 mac download; broken link

The mac edu version has a broken link. Can't download the 4.3.0 version.
Please try this out: https://www.coppeliarobotics.com/files/ ... S10_15.zip