Differences of ID and IK in OpenSim 3.3 and 4.0

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Wei Wang
Posts: 8
Joined: Thu Sep 29, 2016 8:24 am

Differences of ID and IK in OpenSim 3.3 and 4.0

Post by Wei Wang » Fri Oct 12, 2018 7:28 am

Hi all,

I found the inverse dynamic result from the OpenSim 3.3 GUI and OpenSim 4.0 GUI are different when I use them to analyze the exactly same model and IK file(generated from OpenSim 3.3 GUI). The values are slightly different (e.g., around 0-2Nm).

Moreover, when I use OpenSim 4.0 to calculate the inverse kinematics using the same TRC file as in OpenSim 3.3, the results are also different. (For some spinal joints, varied like 10 degrees).

This thing only happens to my model (a complex model but without constraints and force elements). For other models, like Gait2392, the IK and ID results from the two versions are the same.

Anyone knows if there is any difference in the inverse dynamic and inverse kinematics solver in the two OpenSim versions?

Thank you and kind regards,
Wei

Tags:

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

Re: Differences of ID and IK in OpenSim 3.3 and 4.0

Post by Dimitar Stanev » Mon Oct 15, 2018 12:31 am

The problem may be due to some change in the configuration of the tool. Without providing the data to reproduce the problem it is hard to tell.

User avatar
Wei Wang
Posts: 8
Joined: Thu Sep 29, 2016 8:24 am

Re: Differences of ID and IK in OpenSim 3.3 and 4.0

Post by Wei Wang » Mon Oct 15, 2018 3:28 am

Hi Dimitar,

Thanks for your reply! I have attached the model and the marker data. Could you check this for me?

Could I also ask for your understanding that after the post, the data would be removed due to data protection?

Wei
Last edited by Wei Wang on Mon Oct 15, 2018 11:03 am, edited 2 times in total.

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

Re: Differences of ID and IK in OpenSim 3.3 and 4.0

Post by Dimitar Stanev » Mon Oct 15, 2018 3:48 am

Small differences are also observed. Can you tell me which coordinates have the largest difference in your simulation?

I would expect this, since the model has many degrees of freedom and the two versions of OpenSim can use different optimization settings, thus they would result in different solutions that satisfy the motion.

User avatar
Wei Wang
Posts: 8
Joined: Thu Sep 29, 2016 8:24 am

Re: Differences of ID and IK in OpenSim 3.3 and 4.0

Post by Wei Wang » Mon Oct 15, 2018 3:56 am

Hi Dimitar,

The largest IK difference was mainly at the spine level, especial for L5_S1_ FE (around 9 degrees).

Wei

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

Re: Differences of ID and IK in OpenSim 3.3 and 4.0

Post by Dimitar Stanev » Mon Oct 15, 2018 6:05 am

I found 5deg difference. As I told you, this is to be expected since the model has many degrees of freedom and bodies. The optimizer finds a different solution, either because it starts with different settings or different initial conditions. The tracking error is low, so the algorithms finds an aceptable solution that tracks the motion well. The problem may probably require more markers to find a unique solution.

User avatar
Wei Wang
Posts: 8
Joined: Thu Sep 29, 2016 8:24 am

Re: Differences of ID and IK in OpenSim 3.3 and 4.0

Post by Wei Wang » Mon Oct 15, 2018 11:02 am

Hi Dimitar,Thanks for your explanation. I got it. :D

POST REPLY