Closed linghuix closed 2 months ago
Hi @linghuix
Thanks for your question.
You can find some relevant OpenSim API functions and examples in our NeuromechanicsToolkit here. They might also be useful to set you on your way in understanding how to use the API.
If you have implemented more postprocessing to get the metrics of your choice, feel free to make a pull request such that others can also use these. More information on contributing code can be found here.
If things remain unclear, do not hesitate to reach out again.
Hope you can make some progress using this advice!
Closing this issue. If you have any additional questions regarding this issue, feel free to reopen it.
I tried the example and got some basic results, but it is not enough for me. I want to know the center of mass of the whole body, the step width, and the knee abduction moment. I found that there is a step width obtained from COP, but I prefer to calculate step width based on heel markers.
Theoretically, I think these metrics can be obtained from the OpenSim API, but I am not familiar with C++ and do not understand the API documentation. Is there a simpler way to access these metrics? Any advice would be greatly appreciated. I also think it would be helpful for others who have the same needs.