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.
Force Inverse Kinematics to be in Radians
- Duncan Lee
- Posts: 24
- Joined: Thu Sep 14, 2023 10:15 am
- Carmichael Ong
- Posts: 381
- Joined: Fri Feb 24, 2012 11:50 am
Re: Force Inverse Kinematics to be in Radians
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
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