Inverse Kinematics Error Calculations
Posted: Tue Nov 28, 2017 5:59 am
I am running a lot of inverse kinematics, and would like to keep track of the error. I've seen in other threads that you can output the marker file locations when running IK (and have successfully done so in the past), but this time I have a few problems with it. First, it doesn't let you change the name of that output, and I'm trying to batch-process several traces at a time. Second, it doesn't even output the file half the time, instead crashing out on an OpenSim API error. (this might be because of issues in specific trace files, but the IK will run when not asked to output marker location, so it seems a little suspect) Regardless of my specific errors, I think having an answer to this issue would benefit the forum, since error reporting doesn't really appear addressed here otherwise.
I'm using Python to run the IKs - is there any way to catch the console output? Or, alternatively, is there a way I can calculate the error myself within the API, during the IK, to avoid needing the tracked marker location files to begin with?
Thanks!
I'm using Python to run the IKs - is there any way to catch the console output? Or, alternatively, is there a way I can calculate the error myself within the API, during the IK, to avoid needing the tracked marker location files to begin with?
Thanks!