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?
Extract fitted marker data after inverse kinematics
- Jeonghwan Jay Lee
- Posts: 3
- Joined: Tue Aug 18, 2020 12:36 pm
- Tylan Templin
- Posts: 40
- Joined: Mon Jan 15, 2018 10:55 am
Re: Extract fitted marker data after inverse kinematics
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
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
- Jing Wen Pan
- Posts: 1
- Joined: Fri Feb 26, 2021 7:28 pm
Re: Extract fitted marker data after inverse kinematics
Hi Tylan,tnt845 wrote: ↑Tue May 18, 2021 8:01 amHey 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
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.
- Thomas Uchida
- Posts: 1797
- Joined: Wed May 16, 2012 11:40 am
Re: Extract fitted marker data after inverse kinematics
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.