CMC output validation

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
saylee patkar
Posts: 35
Joined: Wed Jun 20, 2018 1:03 am

CMC output validation

Post by saylee patkar » Wed Mar 27, 2019 12:53 am

hi,
I have executed opensim analysis with data collected from vicon nexus system.
the methodology used was Scale-IK-CMC.
But when I try to compare the graphs of knee flexion angles of Opensim output and vicon outputs(for validation of analysis), I get a very large time lag (2-3sec)at the end of the opensim output. Even though the time lag seems very less it affects the output. Also the angles are not same.
Why does these errors occur?

Tags:

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

Re: CMC output validation

Post by Dimitar Stanev » Thu Mar 28, 2019 2:00 am

I get a very large time lag (2-3sec)at the end of the opensim output.
Can you post the figures?
Also the angles are not same.
It is possible that the coordinate system in OpenSim (e.g., knee flexion is negative) and Nexus are different. OpenSim follows the ISB conventions.

User avatar
saylee patkar
Posts: 35
Joined: Wed Jun 20, 2018 1:03 am

Re: CMC output validation

Post by saylee patkar » Fri Mar 29, 2019 4:04 am

Dear sir,
Can you post the figures?
Sorry, I am not allowed to share any data on the general forum post.
It is possible that the coordinate system in OpenSim (e.g., knee flexion is negative) and Nexus are different. OpenSim follows the ISB conventions.
To solve this I took inverse of all the values to from the Opensim output(multiplied by (-1)).

After some trial and error I noticed that the problem is with Opensim output.
1. Opensim gives me output of knee flexion for both knees as almost equal values but the original trial file clearly shows that it is different for both legs.
2. The output of CMC is not equally distributed(with specific step size). This is the reason the graphs of Opensim and Vicon are having time lag.

Is there any method to solve these issues?

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

Re: CMC output validation

Post by Dimitar Stanev » Sun Mar 31, 2019 1:06 am

When you open the .sto files containing the results you can read the time (first column) data. Therefore, you can plot the knee flexion angle with respect to time.

User avatar
saylee patkar
Posts: 35
Joined: Wed Jun 20, 2018 1:03 am

Re: CMC output validation

Post by saylee patkar » Sun Mar 31, 2019 1:36 am

hi sir,
About your suggestion,
I exported required graph data in excel format and in that there are three columns.
1: Frame/ step
2: Time
3: value/quantity
So, the graph we get from the plot window is with respect to time(second column) or frame/step(first column)?

(Updating with one more doubt:)
Also, is there any step in IK where the tool calibrates the motion and gives same output for both lower limb? because, I am getting output of both knee joints as same whereas ideally it should be different(observed in vicon data).

POST REPLY