Closed chrisdembia closed 7 years ago
@chrisdembia Where did you get Tutorial 1 so that I can follow the steps and verify a fix? Thanks
Combination of this models directory and this tutorial directory.
Thanks @chrisdembia I actually meant the pdf/html file for the tutorial to follow the steps leading to question 7 per your description.
Traced this down to a function that tries to create a "States" storage based on the motion file. To map quantities between input motion and states, headers need parsing. All this parsing is now incorrect because of renaming coordinates and muscle states/activations. I'd like to keep the function doing minimal work on GUI side. We can modify the input files but then other user motion files will be broken. Would be good to come up with a compromise (maybe utilizing StatesTrajectory as intermediary, is that possible @chrisdembia ?)
Storage::getStateIndex()
converts old-style state names to the new names. This is what StatesTrajectory::createFromStatesStorage()
uses to allow loading pre-4.0 states files, and this function should also work for motion files as long as you pass allowMissingColumns=true
. Does this help? What additional functionality might you need for the StatesTrajectory class?
Fixed for me.
I was working on question 7 of tutorial 1
and got the following red stop sign exception:
The Messages window indicates that the issue was within the AnalyzeTool:
Windows 10; 64-bit GUI build.