tgeijten / scone-core

Software for performing predictive simulations of biological motion
Apache License 2.0
40 stars 4 forks source link

Perturbation forces crash with OpenSim4 #4

Closed afhidalgo closed 2 years ago

afhidalgo commented 3 years ago

Describe the bug Perturbation forces SCONE completely crash when I intend to introduce external forces. I enable the external force making “enable_external_forces = 1” but I think the problem is when using OpenSim4. When I used SCONE example provided in the Tutorials, the model works but, it is an OpenSim3 model

Desktop (please complete the following information):

tgeijten commented 3 years ago

Thank you for reporting! Can you please send me the scone scenario you use that causes the crash? Please include all files required to run the scenario, in a single .zip file.

afhidalgo commented 3 years ago

Hi, You can reproduce the SCONE crash just using the tutorial example "Tutorial 4c - Perturbed Gait.scone" but changing the OpeSim model in the .scone scenario to ModelOpenSim4 (instead of ModelOpenSim3, as provided by default)

tgeijten commented 3 years ago

Thanks -- I'm able to reproduce the crash. Unfortunately, the error occurs somewhere deep within the OpenSim code, so it's not immediately clear what's going on. I will need to spend more time on this.

tgeijten commented 2 years ago

Fixed