Extract fitted marker data after inverse kinematics

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jeonghwan Jay Lee
Posts: 3
Joined: Tue Aug 18, 2020 12:36 pm

Extract fitted marker data after inverse kinematics

Post by Jeonghwan Jay Lee » Mon May 17, 2021 11:14 pm

Hello,

I have a quick question about getting marker data (.trc) from inverse kinematics results (.mot). Since my data has several bad markers during motion, I did inverse kinematics by excluding these bad markers. However, I still need to analyze these bad markers motion.

Does anyone know about how to export marker trc file from joint coordinates resulted in inverse kinematics?

Tags:

User avatar
Tylan Templin
Posts: 40
Joined: Mon Jan 15, 2018 10:55 am

Re: Extract fitted marker data after inverse kinematics

Post by Tylan Templin » Tue May 18, 2021 8:01 am

Hey Jeonghwan!

You can export the virtual marker locations during the inverse kinematics step if you set the report marker locations flag to true in the inverse kinematics .xml file (<report_marker_locations>true</report_marker_locations>).

Or you can run a Point Kinematics analysis (with the markers you care about) using the .mot file from inverse kinematics as the input motion.

Hope you are doing well!

Ty

User avatar
Jing Wen Pan
Posts: 1
Joined: Fri Feb 26, 2021 7:28 pm

Re: Extract fitted marker data after inverse kinematics

Post by Jing Wen Pan » Fri May 28, 2021 3:06 am

tnt845 wrote:
Tue May 18, 2021 8:01 am
Hey Jeonghwan!

You can export the virtual marker locations during the inverse kinematics step if you set the report marker locations flag to true in the inverse kinematics .xml file (<report_marker_locations>true</report_marker_locations>).

Or you can run a Point Kinematics analysis (with the markers you care about) using the .mot file from inverse kinematics as the input motion.

Hope you are doing well!

Ty
Hi Tylan,

I am also trying to export the marker locations after IK. However, I cannot find the line 'report_marker_locations>true</report_marker_locations' in my own IK setup.xml or the examples coming with OpenSim.

The Point Kinematic function under 'Analyze' seems not able to export the marker location but can only export body segment location.

So, I am still unable to export marker location. I'm not sure if I am doing correctly.

Thank you.

User avatar
Thomas Uchida
Posts: 1797
Joined: Wed May 16, 2012 11:40 am

Re: Extract fitted marker data after inverse kinematics

Post by Thomas Uchida » Fri May 28, 2021 4:39 am

You could add the "report_marker_locations" line to your IK setup file or create a new file starting from the general template---in the GUI, select "XML Browser" from the Help menu and select "InverseKinematicsTool" from the "Class Name" drop-down box.

POST REPLY