Detailed description |
|
I just ran the Analyze tool, including Kinematics and Body Kinematics, on an OpenSim model for which I had just generated Inverse Kinematics results. Since I cannot read in my own u and du/dt values, I wanted to verify that when OpenSim differentiated the q values in my IK-generated .mot file processed with a 6 Hz low pass cutoff frequency, it generated the correct u and du/dt curves. I need all three types of curves (q, u, and du/dt) for an IMU motion measurement project on which I am working.
Unzip the attached file and run the included Matlab program, which reads in the q, u, and du/dt data output by the Analyze Tool, fits the q curves with a smoothing Bspline, and then analytically calculates the associated u and du/dt curves for comparison.
I included an analytical test function at the start to confirm that the Bspline function is creating the correct u and du/dt curves.
As you will see, when du/dt curves output by the OpenSim Analyze Tool was WAY to large and not the correct shape either. So unless I am missing something (which is always possible), it appears that OpenSim is not calculating the du/dt curves correctly. I don’t know if that means Body Kinematics and Point Kinematics results will be wrong as well, but I definitely need Body Kinematics to work properly for the project on which I am working.
Let me know if you have any questions about this bug report. Hopefully I am just doing something silly! |
|