Page 1 of 1

Force Inverse Kinematics to be in Radians

Posted: Tue May 14, 2024 2:03 pm
by drclee
Hello,

I was wondering if there is anyway to force IK in OpenSim to be in radians? Right now it is in degrees and I'm not sure how to change it.

Also there seems to be a bug in which the GUI does not recognize files. I have encountered this when trying to run ID. In the save path box, the location path selector doesn't work (no GUI opens) and then the file selector in all other GUIs shows folders but no files, even when the file type selector is set to All Files.

Re: Force Inverse Kinematics to be in Radians

Posted: Fri May 17, 2024 5:46 pm
by ongcf
I don't believe there is a way to do this. Looking at the API documentation, I don't see anything related to this: https://simtk.org/api_docs/opensim/api_ ... sTool.html

The code also seems to set the units as degrees here: https://github.com/opensim-org/opensim- ... l.cpp#L129

That being said, you might be able to take the output and use the Analyze Tool with the Kinematics analysis, using your Inverse Kinematics results as the input to the Analyze tool, and set the analysis to output in radians: https://opensimconfluence.atlassian.net ... h+Analyses