opensim-org / opensim-gui

SimTK OpenSim graphical user interface and distribution.
Apache License 2.0
54 stars 30 forks source link

Application crashes when trying to set a very low value for muscle activation in the "Static Optimization..." tool #1363

Open AlbertoCasasOrtiz opened 2 years ago

AlbertoCasasOrtiz commented 2 years ago

Steps to reproduce

I was following the tutorial "Working with static optimization", and when I tried to set a very low value for muscle activation (e.g., -200, -500 or -1000) in the "Static Optimization..." tool and the application crashed.

Expected result

The application should show a message indicating that the value is too low, or that the calculations cannot be done with that value.

Actual result

The application crashes. I managed to take a screenshot of the messages panel before it closes.

image

Environment and GUI version

aymanhab commented 2 years ago

Follow the same investigation as in #1362