Virtual Pelvis Markers are not Matching the Experimental Markers

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Adam Galloy
Posts: 14
Joined: Fri May 12, 2017 11:09 am

Virtual Pelvis Markers are not Matching the Experimental Markers

Post by Adam Galloy » Thu Jun 08, 2017 10:21 am

Hello,
I tried scaling a full body model using marker data of someone standing still. The results I got had the pelvis of the model twisted around almost 90 degrees. I checked the models pelvis markers and compared them to the experimental markers using the Preview Experimental Data feature and they both seemed to agree. I tried doing a preview static pose and all of the markers except the pelvis markers (RASI, LASI, RPSI, and LPSI) were at least in a recognizable position. I tried scaling with the pelvis markers having a very high weight (to see if I could put them in the correct position) and still got the twisted hips. I tried another static pose preview and found that the virtual markers were being oriented incorrectly even though the weight was set high to match them. The rest of the markers are still at least look normal even if the positions of the markers are a little off. I have attached a picture of the last preview I talked about. The experimental markers are in blue and the virtual ones are pink. I only showed the RASI, LASI, RPSI, and LPSI markers for clarity.

Thanks,
Adam Galloy
Attachments
Picture of Scaled Model.PNG
Picture of Scaled Model.PNG (58.82 KiB) Viewed 1218 times

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

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by jimmy d » Thu Jun 08, 2017 11:38 am

To pose the model, a single frame IK solution is used. The behavior you are seeing is typically caused by incorrect labeling of markers, either experimentally or on the model.

User avatar
Adam Galloy
Posts: 14
Joined: Fri May 12, 2017 11:09 am

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by Adam Galloy » Thu Jun 08, 2017 11:56 am

I have checked marker labels both in model and in data and they match.

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

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by jimmy d » Fri Jun 09, 2017 9:34 am

Please attach a .zip that includes the model (.osim) and marker files (.trc).

User avatar
Adam Galloy
Posts: 14
Joined: Fri May 12, 2017 11:09 am

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by Adam Galloy » Fri Jun 09, 2017 9:45 am

This folder has the model with markers attached, the collected marker data (DylanStatic), my Scale settings, and the original marker set (it was originally for a different model I have used that has a similar problem so I had to manually adjust/add many of the markers to the model maybe I did something wrong during that process).

Thanks,
Adam Galloy
Attachments
OpenSim Help Folder.zip
(237.19 KiB) Downloaded 28 times

User avatar
Deepak Jindal
Posts: 14
Joined: Sun Jun 05, 2016 11:04 pm

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by Deepak Jindal » Mon Jun 12, 2017 3:44 am

Hey Adam,
As i tried your problem it seems that you didn't transformed the data correctly from your laboratory axis to OPENSIM
axis correctly so please check proper transformation.

User avatar
Adam Galloy
Posts: 14
Joined: Fri May 12, 2017 11:09 am

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by Adam Galloy » Mon Jun 12, 2017 5:18 am

Really? I had thought about that but the only part of the body that isn't going to the right position is the pelvis and the experimental marker preview coordinates are all in the correct position when I load them. Do they have to perfectly overlap the initial model or can they be translated as they currently are? When I run Inverse Kinematics on the model I can get the model to walk and jump rather convincingly (except for the twisted pelvis) so I thought the transformation was correct. If you can provide any more explanation of what is not translated correctly that would be great!
Also, I know that the force plate data (if I even included it in the folder) is not transformed correctly. I haven't gotten around to that yet.
Thanks,
Adam Galloy

User avatar
Adam Galloy
Posts: 14
Joined: Fri May 12, 2017 11:09 am

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by Adam Galloy » Wed Jun 21, 2017 5:55 am

I collected data again with the same subject. This time I experimented by having him stand facing the positive direction and the negative direction. I found that if I have him face the positive direction the pelvis will not rotate but if he faces the negative direction the pelvis will rotate. I didn't experiment with having the subject stand in different locations (he was always standing at the origin of the lab's coordinate system). I figured that OpenSIm used the relative positions of the markers for analysis such as scaling and inverse kinematics so that it would not matter if the subject was facing a different direction or standing in a different location, but I appear to be wrong.

User avatar
Josh Baxter
Posts: 29
Joined: Fri Mar 11, 2016 12:29 pm

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by Josh Baxter » Thu Jul 27, 2017 10:36 am

many of the default opensim models have ranges of 90 degrees set for the pelvis orientation coordinates. If you go into the osim file and change these ranges to <range>-3.14159 3.14159</range> the problem of lining up the subject with the lab coordinate system should be resolved.

User avatar
Adam Galloy
Posts: 14
Joined: Fri May 12, 2017 11:09 am

Re: Virtual Pelvis Markers are not Matching the Experimental Markers

Post by Adam Galloy » Thu Jul 27, 2017 10:50 am

Thanks for the reply Josh!
I meant to send a post here mentioning that I had found that out while running Inverse Kinematics on a person turning around. I have since fixed this in my models so that they are able to move more freely.

Adam

POST REPLY