OpenSim 4.0 InverseKinematics resets joint reverse
Posted: Tue Feb 23, 2016 3:27 pm
Hi,
I'm having trouble with the InverseKinematicsTool using OpenSim 4.0. I'm running everything through MATLAB 2014a.
The model is modified in my script, saved, reloaded and initialized before calling the tool so that the model format is up to date for version 30505. I can check get_reverse on the specific joint just before running the tool, and it returns "1". After the tool runs, I check it again and it returns "0". The script works fine with past versions of OpenSim, however I need to use 4.0 so that I can modify the source code and still have access from within MATLAB (the source code on the SimTK website doesn't include the necessary bindings for MATLAB scripting)
Do any of the 4.0 developers know why this is happening? I've dug through the source code quite a bit and can't figure it out.
Thanks in advance,
-Andy
I'm having trouble with the InverseKinematicsTool using OpenSim 4.0. I'm running everything through MATLAB 2014a.
The model is modified in my script, saved, reloaded and initialized before calling the tool so that the model format is up to date for version 30505. I can check get_reverse on the specific joint just before running the tool, and it returns "1". After the tool runs, I check it again and it returns "0". The script works fine with past versions of OpenSim, however I need to use 4.0 so that I can modify the source code and still have access from within MATLAB (the source code on the SimTK website doesn't include the necessary bindings for MATLAB scripting)
Do any of the 4.0 developers know why this is happening? I've dug through the source code quite a bit and can't figure it out.
Thanks in advance,
-Andy