Page 1 of 1

Extract fitted marker data after inverse kinematics

Posted: Mon May 17, 2021 11:14 pm
by redearmon
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?

Re: Extract fitted marker data after inverse kinematics

Posted: Tue May 18, 2021 8:01 am
by tnt845
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

Re: Extract fitted marker data after inverse kinematics

Posted: Fri May 28, 2021 3:06 am
by panjingwen
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.

Re: Extract fitted marker data after inverse kinematics

Posted: Fri May 28, 2021 4:39 am
by tkuchida
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.