Hi, I am new to Opensim and I am trying to learn the software for some of my research. I was working on the following tutorial: "Simulation-Based Design to reduce Metabolic Cost", and ran across an issue when trying to plot the cmc results using the script CMC_EvaluateResults.py. After selecting ,running, and selecting the location to save the results. I returned the following error in the picture below:
If you cannot see the picture is basically says:
Storage:failed to open file
'/users/colinholtkamp/Documents/OpenSim/4.0/Models/Gait10dof18musc/CMC/ResultsCMC/ResultsCMC/walk_subject_pErr.sto'
verify that the file exists at the specified location.
Thrown at Storage.cpp:181 in Storage()
Im sure this is an elementary mistake. Could your please point me in the right direction in order to resolve this issue? Thanks!
Colin H.
Trouble Plotting Results with CMC Plotting Script
- Colin Holtkamp
- Posts: 10
- Joined: Tue Jan 22, 2019 10:44 am
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: Trouble Plotting Results with CMC Plotting Script
Make sure that file:
/users/colinholtkamp/Documents/OpenSim/4.0/Models/Gait10dof18musc/CMC/ResultsCMC/ResultsCMC/walk_subject_pErr.sto
exists. If it does not exist, then change the .py script (https://github.com/opensim-org/opensim- ... lts.py#L30) so that it points to the correct file path.
/users/colinholtkamp/Documents/OpenSim/4.0/Models/Gait10dof18musc/CMC/ResultsCMC/ResultsCMC/walk_subject_pErr.sto
exists. If it does not exist, then change the .py script (https://github.com/opensim-org/opensim- ... lts.py#L30) so that it points to the correct file path.
- Colin Holtkamp
- Posts: 10
- Joined: Tue Jan 22, 2019 10:44 am
Re: Trouble Plotting Results with CMC Plotting Script
Got it figured out. Thanks for the help. It looks like I just had to alter the file path to make it work.