Inverse Dynamics with Python API
Posted: Wed Aug 02, 2023 7:27 am
Hi OpenSim community,
I am trying to use the Python API to perform the inverse kinematics and inverse dynamics analysis on a subject walking on force plates.
I did manage to do the IK step so then I would like to perform the ID after that.
But there are not a lot of examples or guidelines on how to perform the inverse dynamics step.
I saw that one can use InverseDynamicTool but it requires to use a lot of external files which is not ideal.
I would therefore prefer to use InverseDynamicSolver but there are no good examples.
I saw one test case you wrote but it is not very clear what are the steps to perform: https://github.com/opensim-org/opensim- ... dy.py#L241
Would you be able to guide me to perform the ID step?
Thanks
I am trying to use the Python API to perform the inverse kinematics and inverse dynamics analysis on a subject walking on force plates.
I did manage to do the IK step so then I would like to perform the ID after that.
But there are not a lot of examples or guidelines on how to perform the inverse dynamics step.
I saw that one can use InverseDynamicTool but it requires to use a lot of external files which is not ideal.
I would therefore prefer to use InverseDynamicSolver but there are no good examples.
I saw one test case you wrote but it is not very clear what are the steps to perform: https://github.com/opensim-org/opensim- ... dy.py#L241
Would you be able to guide me to perform the ID step?
Thanks