Updating older model file to 4.0 using utility
Posted: Wed Feb 06, 2019 8:40 am
Hi, I am new to OpenSim and would like to update an old model for use in OpenSim 4.0.
The error is that coordinates are labeled as rotational but found to be coupled, and I am told to run the updatePre40KinematicsFilesFor40MotionType() utility in the ScriptingShell Window (by the error and the upgrade notes page https://simtk-confluence.stanford.edu/d ... penSim+4.0)
However, I am not sure how to properly implement this utility to update my model. I had to update another model from the beta version of 4.0 and was able to follow the upgrade notes page on how to do that which is displayed like this:
>>> model = modeling.Model('my_model_file_version_30516.osim')
>>> modeling.opensimSimulation.updateSocketConnecteesBySearch(model)
>>> model.print('my_model_file_4.0.osim')
Can some please explain to me how to use updatePre40KinematicsFilesFor40MotionType(), potentially in a similar fashion to the beta upgrade?
The error is that coordinates are labeled as rotational but found to be coupled, and I am told to run the updatePre40KinematicsFilesFor40MotionType() utility in the ScriptingShell Window (by the error and the upgrade notes page https://simtk-confluence.stanford.edu/d ... penSim+4.0)
However, I am not sure how to properly implement this utility to update my model. I had to update another model from the beta version of 4.0 and was able to follow the upgrade notes page on how to do that which is displayed like this:
>>> model = modeling.Model('my_model_file_version_30516.osim')
>>> modeling.opensimSimulation.updateSocketConnecteesBySearch(model)
>>> model.print('my_model_file_4.0.osim')
Can some please explain to me how to use updatePre40KinematicsFilesFor40MotionType(), potentially in a similar fashion to the beta upgrade?