IK - report_marker_locations

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Nils Kästner
Posts: 5
Joined: Tue Jun 25, 2013 2:09 am

IK - report_marker_locations

Post by Nils Kästner » Thu Aug 29, 2013 4:08 am

Hallo everybody,

for e better scaling result I would like to compare the experimental marker data with the virtual marker data. The IK-Tool produces a file with the virtual marker positions and it displays some mean errors. I want to look at the error for one spezific marker (not necessary the marker with maximum error).

My first question: Is it possible, that the IK-Tool saves the difference between the virtual and experimentel markers? I didn't find such an option.

Since I could not find this option in the Tool, I tried to calculate the errors by myself. The problem is, that in the "virtual marker positions"-data some markers are missing. Actually 111 marker-coordinates (that meens 37 markers) are printed. Indeed it should be 50 markers. And there is another problem. I use a simple model without arms. In my experimental "*.trc" data additional markers (for example those at the arms) are saved. Those markers are also saved in the "virtual marker positions"-file.

Perhaps somone can help me.
Thanks a lot.
Nils Kästner

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

Re: IK - report_marker_locations

Post by jimmy d » Thu Aug 29, 2013 8:18 am

Nils-

if you flag <report_marker_locations> true </report_marker_locations> in the IK setup xml it will print out all the virtual marker locations of the model. This file gets overwritten with each subsequent IK trial (that comes from the same folder)

Is this the flag you have been using?

-james

User avatar
Nils Kästner
Posts: 5
Joined: Tue Jun 25, 2013 2:09 am

Re: IK - report_marker_locations

Post by Nils Kästner » Fri Aug 30, 2013 12:32 am

Hallo James,

I'm using exact this flag. But not all markers are printed in the file. For example "left ankle" marker exists but the "right ankle" marker doesn't.

The second problem is that even ther is no virtual Hand marker for example, coordinates of this marker are saved in the file.

Nils

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

Re: IK - report_marker_locations

Post by jimmy d » Fri Aug 30, 2013 12:33 pm

Nils-
We have reproduced this bug. Thanks for bringing it to our attention. We are working on it now and it will be fixed for the next release.
-James

User avatar
Carlo Tricarico
Posts: 21
Joined: Mon Jul 29, 2013 8:21 am

Re: IK - report_marker_locations

Post by Carlo Tricarico » Tue Sep 17, 2013 10:11 am

Hello to all of you,
I'm sorry, I was wondering where can I find the flag you've mentioned because I cannot see it.

Thanx a lot

Carlo

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

Re: IK - report_marker_locations

Post by jimmy d » Tue Sep 17, 2013 12:24 pm

Carlo-
It would be located in the IK setup file. As it is not written in by default you would have to add it to your file.
Cheers,
-james

User avatar
Carlo Tricarico
Posts: 21
Joined: Mon Jul 29, 2013 8:21 am

Re: IK - report_marker_locations

Post by Carlo Tricarico » Wed Sep 18, 2013 12:42 am

Thank you so much James. Everything worked :)

Best regards

Carlo

User avatar
Maxime Bourgain
Posts: 9
Joined: Mon Mar 09, 2015 8:17 am

Re: IK - report_marker_locations

Post by Maxime Bourgain » Mon Jan 04, 2016 9:37 am

Do you know how to define the name of the file created with the flag ?
<report_marker_locations> true </report_marker_locations>

User avatar
Dario Cazzola
Posts: 44
Joined: Mon Jun 03, 2013 8:08 am

Re: IK - report_marker_locations

Post by Dario Cazzola » Tue Mar 22, 2016 11:35 am

Hi Maxime,

in your IK file you can define:

<!--Directory used for writing results.-->
<results_directory>\\Mac\Home\Desktop\Work\Research\OpenSim\Projects\HIP_FORCES\TRIALS\STST1\IK\</results_directory>

OpenSim will save the file containing the markers in that directory. The names will be something like:
ik_model_marker_locations.sto

Cheers

Dario

POST REPLY