problem with scaling

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Aida M N R
Posts: 3
Joined: Mon Mar 26, 2018 12:38 am

problem with scaling

Post by Aida M N R » Wed Jun 27, 2018 2:13 pm

Hi,
I am completely new in OpenSim. I have a big problem with scaling. After I run the scale tool I get this result. The markers are apart from the model! Any idea? The errors are too big. I did the scaling with other openSim model and the result was great but with this one I got this strange result.
Attachments
scale.png
scale.png (233.1 KiB) Viewed 751 times

Tags:

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: problem with scaling

Post by Dimitar Stanev » Thu Jun 28, 2018 12:39 am

Hi,

This model does not have translation degrees of freedom (DOFS) in the z axis. It is possible that the static pose is positioned in such a way that the model is not able to achieve given its DOFS. You can either change the pelvis DOFS or use the gait2364 model.

User avatar
Aida M N R
Posts: 3
Joined: Mon Mar 26, 2018 12:38 am

Re: problem with scaling

Post by Aida M N R » Thu Jun 28, 2018 5:19 am

Hi,
Thanks for your help. you are right. I try to change the DoF of Pelvis. I change the XML file. is it OK? it seems it works correctly. But I am not sure if I change all the required code? How can I test it? Do you know where can I find a tutorial or document?

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: problem with scaling

Post by Dimitar Stanev » Fri Jun 29, 2018 12:55 am


User avatar
Aida M N R
Posts: 3
Joined: Mon Mar 26, 2018 12:38 am

Re: problem with scaling

Post by Aida M N R » Fri Jun 29, 2018 2:51 am

thanks

User avatar
Evgeniya Tomskaya
Posts: 9
Joined: Mon Sep 26, 2016 5:02 am

Re: problem with scaling

Post by Evgeniya Tomskaya » Fri Jun 29, 2018 4:57 am

Hi!
I have some problems with model scaling too. We are shooting data by Qualisys, the model in QTM looks normal, and there are no problems with the trajectories of markers. But when I load data in OpenSim, the model distorts along with the markers. It happens only on some surveys, I can not understand the reason, we do everything the same, but for some reason sometimes everything is all right, and sometimes such problems appear. What can you advise me to correct this situation?

Thank you
Attachments
scaling.tiff
scaling.tiff (43.79 KiB) Viewed 676 times
running.tiff
running.tiff (48.1 KiB) Viewed 676 times

User avatar
Andrea Morelli
Posts: 89
Joined: Thu Jan 24, 2008 1:10 pm

Re: problem with scaling

Post by Andrea Morelli » Wed Jul 04, 2018 12:20 pm

Hi! Did you try to import the trc data with the preview into opensim? Seems that experimental data orientation axis is different than the model axis.

Andrea

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: problem with scaling

Post by jimmy d » Fri Jul 06, 2018 8:33 am

HI, Evgeniya-
there are no problems with the trajectories of markers.
From the images you sent, it looks like there could be mislabelled markers- you should double check that all the markers are labeled correctly.

User avatar
Urszula Kania
Posts: 1
Joined: Fri Nov 04, 2022 2:54 am

Re: problem with scaling

Post by Urszula Kania » Tue Jan 24, 2023 8:19 am

Hi,
I have some problems with scaling also. I collect data with Qualisys and everything looks fine in there. When I load data in OpenSim markers and forces looks just fine (static.png). Uploaded model looks fine also (I use slightly modified to my marker set TwoLegsHATArnoldetalv2.1 - modeluploaded.png). When I try to scale the model it turns in pelvis somehow (scaledmodel.png).
I have this problem with only one patient. Every marker is correctly named. When I preview experimental data (only markers and forces) it goes normally. After scaling model and applying IK it is side walking... I did everything according to github instruction.

Could you tell me what can I do with this?
I want to calculate muscle-tendon length during walking.

Thank you
Attachments
static.PNG
static.PNG (194.43 KiB) Viewed 397 times
scaledmodel.PNG
scaledmodel.PNG (274.2 KiB) Viewed 397 times
modeluploaded.PNG
modeluploaded.PNG (345.96 KiB) Viewed 397 times

User avatar
Nicholas Bianco
Posts: 1041
Joined: Thu Oct 04, 2012 8:09 pm

Re: problem with scaling

Post by Nicholas Bianco » Tue Jan 24, 2023 3:21 pm

Hi Urszula,

The issue your seeing could be one of several possibilities. Have you checked that there are no missing or occluded markers for that subject/trial? That could cause issues even if the markers are labeled correctly.

In general, I highly recommend checking out https://addbiomechanics.org/, a new web-based tool for automating the scaling process.

Best,
Nick

POST REPLY