Closed hwy1992129 closed 2 years ago
Happy to hear that your visualization of the muscle activations is working now! The sto files and all other OpenSim files of 2020_Nitschke_RunMaD.zip were created with OpenSim 4.0 as described in my paper (https://www.nature.com/articles/s41598-020-73856-w). Hence, it might be that the sto file is not compatible to newer OpenSim versions.
You can use the OpenSim GUI to update OpenSim files to newer formats. Tools -> Convert Files
I finally let the program work with Muscle Activation. It has an error if you are not using OpenSim 4.0 API. Change the code to
OpenSim::TimeSeriesTable stoTable = OpenSim::TimeSeriesTable(filepath);
may fix the error in OpenSim 4.1+ API. The .sto files from 2020_Nitschke_RunMaD.zip don't work in the program. The reason behind it may be the problem of format.....??? I open the .sto using excel. The .sto file from 2020_Nitschke_RunMaD.zip look like the following figure. I modified the .sto file and the program works well with Muscle Activation...