opensim-gui icon indicating copy to clipboard operation
opensim-gui copied to clipboard

Default Coordinate Speeds cannot be updated through Coordinate Viewer

Open aseth1 opened this issue 4 years ago • 3 comments

Steps to reproduce

  1. load any model with at least one coordinate
  2. update its coordinate and speed values in the Coordinate viewer
  3. (optionally run a simulation to prove the coordinate value and speed was updated and then rewind)
  4. Use Coordinate viewer Poses->Set Default
  5. Jiggle coordinates (or play motion to random point)
  6. Return to default pose, Poses->Default

Expected result

  • Both coordinate value and speed are the same as those set from step 4.

Actual result

  • Only coordinate value was updated

Environment and GUI version

  • OpenSim 4.1 on Windows x64

There is currently no way for the GUI to enable the user to save default speed values in the model, which is inconsistent with coordinate values.

aseth1 avatar Apr 30 '20 17:04 aseth1

This issue is coming up again in the course again this year.

aseth1 avatar Apr 13 '22 11:04 aseth1

@aseth1 As you pointed out the osim files don't maintain default speeds. There are multiple ways to fix depending on the scope we choose:

  1. Add in the model file (widespread change, possible backward compatibility breakage, need to assess how the Tools and Assembly behave, migration issues).
  2. Have the GUI save/restore Speed values from the sliders: Easy to implement but limited to GUI, not portable since Poses are not saved with model.
  3. Other possible solutions/suggestions in-line with the teaching material

Please let me know your thoughts/preferences to plan if we can address for upcoming release(s). Thank you.

aymanhab avatar Apr 26 '22 15:04 aymanhab

Hi @aseth1 @aymanhab, I am running into the same problem, as the default speed value is indeed not modified on my model when I update it through the GUI. Has there been any development address this bug yet? Thank you

itbellix avatar Apr 24 '23 09:04 itbellix