Search found 16 matches

by Félix Lefebvre
Mon Jun 13, 2022 2:12 am
Forum: OpenSim
Topic: IKTool Run Memory Leak Python API
Replies: 7
Views: 1005

Re: IKTool Run Memory Leak Python API

Hi Ayman,

Just to inform you that I tested the beta 4.4-2022-06-11-bfc372a and it seems solved indeed !

Thank you very much for your reactivity and prompt fixing, it is very much appreciated.

Felix
by Félix Lefebvre
Wed Jun 08, 2022 5:42 am
Forum: OpenSim
Topic: IKTool Run Memory Leak Python API
Replies: 7
Views: 1005

Re: IKTool Run Memory Leak Python API

Hi Ayman,

Thank you for taking this into account.

Do you have an estimated deadline for this release ?

So that I know if I can wait or should look for a workaround as a short term solution.

Thank you,
Felix
by Félix Lefebvre
Thu Jun 02, 2022 8:41 am
Forum: OpenSim
Topic: IKTool Run Memory Leak Python API
Replies: 7
Views: 1005

Re: IKTool Run Memory Leak Python API

Please see a very simple example that shows how memory leaks and increase. Release only happens when closing Python (or restarting the kernel). import os.path import opensim as osim Folder = "C:/Users/felix/Documents/OpenSim/4.3/Code/Python/TestIK/" scaleModelName = os.path.join(Folder, "subject01_s...
by Félix Lefebvre
Wed Jun 01, 2022 7:58 am
Forum: OpenSim
Topic: IKTool Run Memory Leak Python API
Replies: 7
Views: 1005

IKTool Run Memory Leak Python API

Hi, It appears there is a memory leak when running the IK using the IKTool (in the API but also from Jython in the GUI). Is it a known issue ? Is there a way to fix this ? It is a major problem for me as I am trying to run an optimization process using it. Unifortunately the leak seems to add 10Mo o...
by Félix Lefebvre
Thu May 19, 2022 5:17 am
Forum: OpenSim
Topic: Problem with scaling and point constraint
Replies: 17
Views: 1820

Re: Problem with scaling and point constraint

Could you elaborate a little bit more on the issues you are facing ?

About the ellipsoid optimization, I would like to keep my code private until the article in preparation is accepted and published.

Thank you,
Felix
by Félix Lefebvre
Thu Apr 28, 2022 9:57 am
Forum: OpenSim
Topic: Problem with scaling and point constraint
Replies: 17
Views: 1820

Re: Problem with scaling and point constraint

Allright thank you.

I will also contact the model author's about this. I will follow on the feedback they can give me here.

Thanks for pointing up that mistake, that is obviously an error and I bet you just saved me from some extra-time on finding the issue !

Best regards,
Felix
by Félix Lefebvre
Wed Apr 27, 2022 11:36 pm
Forum: OpenSim
Topic: Problem with scaling and point constraint
Replies: 17
Views: 1820

Re: Problem with scaling and point constraint

Hi, What I do is the following: - I added 2 markers to the model at the location of the PointContraint in each body, so that I can get this adjusted position once the model is scaled. - Location_in_body_x is then adjusted following the marker's position. clavicle_CP = scaledModel.getMarkerSet().get(...
by Félix Lefebvre
Wed Apr 27, 2022 6:10 am
Forum: OpenSim
Topic: Scale Tool with Python API
Replies: 1
Views: 411

Re: Scale Tool with Python API

Hi, Any help or just a confirmation that it is not possible would be appreciated. For now, I will write the coordinates as default values then lock them and save this to a new osim file before calling this file with the Tool. But this could be taking some time in my code if repeated in a loop. Thank...
by Félix Lefebvre
Fri Apr 22, 2022 7:21 am
Forum: OpenSim
Topic: Scale Tool with Python API
Replies: 1
Views: 411

Scale Tool with Python API

Hi, I am using the Scale Tool in Python API. Is it possible to run it on the model that is loaded and active in the code but not necessarily saved ? In fact, I would like to run the scale tool on a model where certain coordinates are set in the code. For now, the only way I found to do it is to set ...
by Félix Lefebvre
Wed Apr 20, 2022 5:42 am
Forum: OpenSim
Topic: Problem with scaling and point constraint
Replies: 17
Views: 1820

Re: Problem with scaling and point constraint

Hi Thomas, The article does say that model was scaled using the OpenSim Scale Tool. Also, by checking in the model files provided with the article, the scaled model looks wrong to me as the acromio-clavicular contact point makes the bones actually not being in contact. Anyway, I have my own scripts ...