SCONE not reading correct file?
Posted: Wed Feb 02, 2022 8:34 am
I am trying to replicate Tutorial 1 using my own data. I have a 4x opensim model, a .zml file and a scenario, following the setup for Tutorial 1. I have changed all DOF names to match those in my own model. However, I am getting a bizarre error when loading in the model:
SCONE version 2.0.0.2243 RC 3
SCONE Tutorials and Examples are up-to-date
Successfully initialized OpenSim3 version 3.3-2021-01-28
Successfully initialized OpenSim4 version 4.3-2021-08-04-a68c7148e
Could not find initial state for /jointset/ground_pelvis/pelvis_ty/value with external force of 131.517
Created model Human_SCONE_noMasses; dofs=54 muscles=78 mass=67.0548
If I ignore this issue and evaluate my scenario, then it will freeze on 1% and no longer be responsive, but I can visually see my model disarticulate with the toes flying off into space in SCONE. I assume the issue is related to the above error. I have combed through my opensim model and the .zml file, but all DOF names are the same. I have exported the coordinates from SCONE itself and used that as the initial state - but I still get the same error! I'm at a loss as to where else to check. Is there some other file elsewhere that might be reading in data? From my understanding, I only need to modify the following files to replicate Tutorial 1:
1. the opensim model
2. the .zml file
3. the scenario to read the correct model and .zml
Previously, my DOF was called Pelvis_Ty and the error stated that it couldn't find the DOF 'pelvis_ty' which didn't exist in my model. I changed the DOF name in my model to match the missing DOF (i.e., to be consistent with case sensitivity), and now I get the above error stating that it cannot find the initial state, even though it is listed in my .zml file as 'pelvis_ty = 0'.
Any thoughts?
Thanks so much,
Ashleigh
SCONE version 2.0.0.2243 RC 3
SCONE Tutorials and Examples are up-to-date
Successfully initialized OpenSim3 version 3.3-2021-01-28
Successfully initialized OpenSim4 version 4.3-2021-08-04-a68c7148e
Could not find initial state for /jointset/ground_pelvis/pelvis_ty/value with external force of 131.517
Created model Human_SCONE_noMasses; dofs=54 muscles=78 mass=67.0548
If I ignore this issue and evaluate my scenario, then it will freeze on 1% and no longer be responsive, but I can visually see my model disarticulate with the toes flying off into space in SCONE. I assume the issue is related to the above error. I have combed through my opensim model and the .zml file, but all DOF names are the same. I have exported the coordinates from SCONE itself and used that as the initial state - but I still get the same error! I'm at a loss as to where else to check. Is there some other file elsewhere that might be reading in data? From my understanding, I only need to modify the following files to replicate Tutorial 1:
1. the opensim model
2. the .zml file
3. the scenario to read the correct model and .zml
Previously, my DOF was called Pelvis_Ty and the error stated that it couldn't find the DOF 'pelvis_ty' which didn't exist in my model. I changed the DOF name in my model to match the missing DOF (i.e., to be consistent with case sensitivity), and now I get the above error stating that it cannot find the initial state, even though it is listed in my .zml file as 'pelvis_ty = 0'.
Any thoughts?
Thanks so much,
Ashleigh