Hi,
I use some codes in Matlab to execute all the steps from scaling to Static Optimization (including Analyze) and for the purpose of my research, I also need to extract the location of the hip joint center depending on the time.
As I will have a lot of files (walking and running trials) to analyze, I was wondering if it is possible (and if yes, how to do it) to locate and then "create" a virtual marker that can follow the hip joint center trajectory during all the trials and then export its coordinates (depending on the time and/or frames) by using Matlab.
Thanks in advance !
Export Hip Joint Center
- Coline Van Waerbeke
- Posts: 2
- Joined: Mon Feb 03, 2020 2:04 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Export Hip Joint Center
Hello,
If you have a Marker (or a similar abstraction) representing the joint center that you want exported, then you can use the AnalyzeTool and an OutputReporter, and specify the ComponentPath for the Marker. A Marker has an associated Output "location" that you can wire to the OutputReporter to get the results in a file or to a TableReporter to get them in a table in memory.
OutputReporter documentation: https://simtk-confluence.stanford.edu/d ... h+Analyses
Output list documentation: https://simtk-confluence.stanford.edu/d ... tputs+List
Hope this helps,
-Ayman
If you have a Marker (or a similar abstraction) representing the joint center that you want exported, then you can use the AnalyzeTool and an OutputReporter, and specify the ComponentPath for the Marker. A Marker has an associated Output "location" that you can wire to the OutputReporter to get the results in a file or to a TableReporter to get them in a table in memory.
OutputReporter documentation: https://simtk-confluence.stanford.edu/d ... h+Analyses
Output list documentation: https://simtk-confluence.stanford.edu/d ... tputs+List
Hope this helps,
-Ayman
- Coline Van Waerbeke
- Posts: 2
- Joined: Mon Feb 03, 2020 2:04 am
Re: Export Hip Joint Center
Hi,
Thanks for you quick reply !
It will help me extract the data.
I am also looking for creating the "Marker" or a similar abstraction which could represent the hip joint center. I looked into the "Joint" class but I could not find the coordinates of the hip joint center especially during dynamic trials. Which class or tool should I use to find the coordinates of the hip joint center over time ?
Thanks again !
Thanks for you quick reply !
It will help me extract the data.
I am also looking for creating the "Marker" or a similar abstraction which could represent the hip joint center. I looked into the "Joint" class but I could not find the coordinates of the hip joint center especially during dynamic trials. Which class or tool should I use to find the coordinates of the hip joint center over time ?
Thanks again !