Page 1 of 1

Accessing kinematic states when using inverse.initialize()

Posted: Wed May 04, 2022 6:22 am
by karthick_ganesan
Hi all,
When we create a study using inverse.initialize() and solve, the solution file doesn't seem to contain the kinematic states in it (The solution of a MocoInverse has the kinematic states). If that is true, how to get a states/solution file which includes the kinematic states. I need them for further analysis. Of course, the generalized coordinates are prescribed and from that one can find the speeds. But, is there any other way?
Thanks,
Karthick.

Re: Accessing kinematic states when using inverse.initialize()

Posted: Wed May 04, 2022 10:06 am
by nbianco
Hi Karthick,

You could solve a "dummy" problem (i.e., set max iterations to zero) and get the MocoInverse solution with the kinematics since they will be the same no matter what the muscle solution is.

-Nick